From 2c4a9f52d7d63d1d75c39d4f6598e6d877db3118 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 30 Oct 2024 12:20:39 +0300 Subject: [PATCH] Refactor #6681 - For Drawer --- packages/primevue/src/drawer/style/DrawerStyle.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/primevue/src/drawer/style/DrawerStyle.js b/packages/primevue/src/drawer/style/DrawerStyle.js index 499e5e890..8683816d8 100644 --- a/packages/primevue/src/drawer/style/DrawerStyle.js +++ b/packages/primevue/src/drawer/style/DrawerStyle.js @@ -81,25 +81,25 @@ const theme = ({ dt }) => ` .p-drawer-left .p-drawer { width: 20rem; height: 100%; - border-right-width: 1px; + border-inline-end-width: 1px; } .p-drawer-right .p-drawer { width: 20rem; height: 100%; - border-left-width: 1px; + border-inline-start-width: 1px; } .p-drawer-top .p-drawer { height: 10rem; width: 100%; - border-bottom-width: 1px; + border-block-end-width: 1px; } .p-drawer-bottom .p-drawer { height: 10rem; width: 100%; - border-top-width: 1px; + border-block-start-width: 1px; } .p-drawer-left .p-drawer-content, @@ -113,6 +113,10 @@ const theme = ({ dt }) => ` .p-drawer-open { display: flex; } + +.p-overlay-mask:dir(rtl) { + flex-direction: row-reverse; +} `; const inlineStyles = {