fix: use units in select label padding calculation (#5848)

Addition in css' `calc` function
[requires both operands to be `<length>`](https://css-tricks.com/a-complete-guide-to-calc-in-css/#aa-addition-and-subtraction-require-both-numbers-to-be-lengths)
v4(old)
Nadir Fejzić 2024-06-14 10:23:09 +02:00 committed by GitHub
parent 1a1bd2be45
commit 46469fe68e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ const theme = ({ dt }) => `
}
.p-select:has(.p-select-clear-icon) .p-select-label {
padding-right: calc(1 + ${dt('select.padding.x')});
padding-right: calc(1rem + ${dt('select.padding.x')});
}
.p-select.p-disabled .p-select-label {