From 0635880f487dfe137f7dbf6782a1d5300b5640a2 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 31 Oct 2024 10:02:23 +0300 Subject: [PATCH] Refactor #6682 - For Breadcrumb --- packages/primevue/src/breadcrumb/style/BreadcrumbStyle.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/primevue/src/breadcrumb/style/BreadcrumbStyle.js b/packages/primevue/src/breadcrumb/style/BreadcrumbStyle.js index f5115e725..87237e158 100644 --- a/packages/primevue/src/breadcrumb/style/BreadcrumbStyle.js +++ b/packages/primevue/src/breadcrumb/style/BreadcrumbStyle.js @@ -23,6 +23,10 @@ const theme = ({ dt }) => ` color: ${dt('breadcrumb.separator.color')}; } +.p-breadcrumb-separator-icon:dir(rtl) { + transform: rotate(180deg); +} + .p-breadcrumb::-webkit-scrollbar { display: none; } @@ -67,6 +71,7 @@ const classes = { list: 'p-breadcrumb-list', homeItem: 'p-breadcrumb-home-item', separator: 'p-breadcrumb-separator', + separatorIcon: 'p-breadcrumb-separator-icon', item: ({ instance }) => ['p-breadcrumb-item', { 'p-disabled': instance.disabled() }], itemLink: 'p-breadcrumb-item-link', itemIcon: 'p-breadcrumb-item-icon',