From abc4536117b6a4931d49e67c01579f9bb0efbccf Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 24 Oct 2024 17:28:11 +0300 Subject: [PATCH] Refactor #6636 - For Select --- packages/primevue/src/select/style/SelectStyle.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/primevue/src/select/style/SelectStyle.js b/packages/primevue/src/select/style/SelectStyle.js index 5c4e5f760..3bd82ce06 100644 --- a/packages/primevue/src/select/style/SelectStyle.js +++ b/packages/primevue/src/select/style/SelectStyle.js @@ -52,7 +52,7 @@ const theme = ({ dt }) => ` top: 50%; margin-top: -0.5rem; color: ${dt('select.clear.icon.color')}; - right: ${dt('select.dropdown.width')}; + inset-inline-end: ${dt('select.dropdown.width')}; } .p-select-dropdown { @@ -63,8 +63,8 @@ const theme = ({ dt }) => ` background: transparent; color: ${dt('select.dropdown.color')}; width: ${dt('select.dropdown.width')}; - border-top-right-radius: ${dt('select.border.radius')}; - border-bottom-right-radius: ${dt('select.border.radius')}; + border-start-end-radius: ${dt('select.border.radius')}; + border-end-end-radius: ${dt('select.border.radius')}; } .p-select-label { @@ -87,7 +87,7 @@ const theme = ({ dt }) => ` } .p-select:has(.p-select-clear-icon) .p-select-label { - padding-right: calc(1rem + ${dt('select.padding.x')}); + padding-inline-end: calc(1rem + ${dt('select.padding.x')}); } .p-select.p-disabled .p-select-label {