From 55b67efb77f6a8e2696aa3707552ccdeeb0a86ec Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 30 Oct 2024 12:12:21 +0300 Subject: [PATCH] Refactor #6680 - For SplitButton --- .../src/splitbutton/style/SplitButtonStyle.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/primevue/src/splitbutton/style/SplitButtonStyle.js b/packages/primevue/src/splitbutton/style/SplitButtonStyle.js index 48273520e..237d6f8fe 100644 --- a/packages/primevue/src/splitbutton/style/SplitButtonStyle.js +++ b/packages/primevue/src/splitbutton/style/SplitButtonStyle.js @@ -8,9 +8,9 @@ const theme = ({ dt }) => ` } .p-splitbutton-button { - border-top-right-radius: 0; - border-bottom-right-radius: 0; - border-right: 0 none; + border-start-end-radius: 0; + border-end-end-radius: 0; + border-inline-end: 0 none; } .p-splitbutton-button:focus-visible, @@ -20,12 +20,12 @@ const theme = ({ dt }) => ` .p-splitbutton-button:not(:disabled):hover, .p-splitbutton-button:not(:disabled):active { - border-right: 0 none; + border-inline-end: 0 none; } .p-splitbutton-dropdown { - border-top-left-radius: 0; - border-bottom-left-radius: 0; + border-start-start-radius: 0; + border-end-start-radius: 0; } .p-splitbutton .p-menu { @@ -37,13 +37,13 @@ const theme = ({ dt }) => ` } .p-splitbutton-rounded .p-splitbutton-dropdown { - border-top-right-radius: ${dt('splitbutton.rounded.border.radius')}; - border-bottom-right-radius: ${dt('splitbutton.rounded.border.radius')}; + border-start-end-radius: ${dt('splitbutton.rounded.border.radius')}; + border-end-end-radius: ${dt('splitbutton.rounded.border.radius')}; } .p-splitbutton-rounded .p-splitbutton-button { - border-top-left-radius: ${dt('splitbutton.rounded.border.radius')}; - border-bottom-left-radius: ${dt('splitbutton.rounded.border.radius')}; + border-start-start-radius: ${dt('splitbutton.rounded.border.radius')}; + border-end-start-radius: ${dt('splitbutton.rounded.border.radius')}; } .p-splitbutton-raised {