From e439a1795df0dbeb67c9d97fd473a58e930caf03 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 24 Oct 2024 17:29:50 +0300 Subject: [PATCH] Refactor #6636 - For TreeSelect --- .../primevue/src/treeselect/style/TreeSelectStyle.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/primevue/src/treeselect/style/TreeSelectStyle.js b/packages/primevue/src/treeselect/style/TreeSelectStyle.js index 7af64590d..a6a7db511 100644 --- a/packages/primevue/src/treeselect/style/TreeSelectStyle.js +++ b/packages/primevue/src/treeselect/style/TreeSelectStyle.js @@ -56,8 +56,8 @@ const theme = ({ dt }) => ` background: transparent; color: ${dt('treeselect.dropdown.color')}; width: ${dt('treeselect.dropdown.width')}; - border-top-right-radius: ${dt('border.radius.md')}; - border-bottom-right-radius: ${dt('border.radius.md')}; + border-start-end-radius: ${dt('border.radius.md')}; + border-end-end-radius: ${dt('border.radius.md')}; } .p-treeselect-label-container { @@ -68,7 +68,7 @@ const theme = ({ dt }) => ` .p-treeselect-label { display: flex; - align-items-center; + align-items: center; gap: calc(${dt('treeselect.padding.y')} / 2); white-space: nowrap; cursor: pointer; @@ -129,8 +129,8 @@ const theme = ({ dt }) => ` } .p-treeselect-label .p-chip { - padding-top: calc(${dt('treeselect.padding.y')} / 2); - padding-bottom: calc(${dt('treeselect.padding.y')} / 2); + padding-block-start: calc(${dt('treeselect.padding.y')} / 2); + padding-block-end: calc(${dt('treeselect.padding.y')} / 2); border-radius: ${dt('treeselect.chip.border.radius')}; }