Skip to content

Commit

Permalink
Refactor #343 - For InputNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Nov 7, 2024
1 parent cf69312 commit 3f09880
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions assets/styles/primevue/inputnumber.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}

.p-inputnumber-stacked .p-inputnumber-button-group {
@apply flex flex-col absolute top-px right-px h-[calc(100%-2px)] z-10
@apply flex flex-col absolute top-px end-px h-[calc(100%-2px)] z-10
}

.p-inputnumber-stacked .p-inputnumber-increment-button {
Expand All @@ -32,15 +32,15 @@
}

.p-inputnumber-horizontal .p-inputnumber-increment-button {
@apply order-3 rounded-r-md border-l-0
@apply order-3 rounded-e-md border-s-0
}

.p-inputnumber-horizontal .p-inputnumber-input {
@apply order-2 rounded-none
}

.p-inputnumber-horizontal .p-inputnumber-decrement-button {
@apply order-1 rounded-l-md border-r-0
@apply order-1 rounded-s-md border-r-0
}

.p-floatlabel:has(.p-inputnumber-horizontal) label {
Expand All @@ -56,15 +56,15 @@
}

.p-inputnumber-vertical .p-inputnumber-increment-button {
@apply order-1 rounded-t-md w-full border-b-0
@apply order-1 rounded-ss-md rounded-se-md w-full border-b-0
}

.p-inputnumber-vertical .p-inputnumber-input {
@apply order-2 rounded-none text-center
}

.p-inputnumber-vertical .p-inputnumber-decrement-button {
@apply order-3 rounded-b-md w-full border-t-0
@apply order-3 rounded-ee-md rounded-es-md w-full border-t-0
}

.p-inputnumber-input {
Expand All @@ -81,4 +81,4 @@

.p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input {
@apply w-full
}
}

0 comments on commit 3f09880

Please sign in to comment.