Skip to content

Commit 758673e

Browse files
committed
MOBILE-4842 menu: Avoid duplicating safe areas on RTL and side menu
1 parent 86b2ac7 commit 758673e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/theme/theme.base.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ ion-tabs.placement-side .tabs-inner {
172172
--ion-safe-area-left: 0px;
173173
}
174174

175+
:root[dir=rtl] ion-tabs.placement-side .tabs-inner {
176+
--ion-safe-area-right: 0px;
177+
--ion-safe-area-left: var(--root-safe-area-left);
178+
}
179+
175180
ion-tabs.placement-bottom .tabs-inner {
176181
--ion-safe-area-bottom: 0px;
177182
}

0 commit comments

Comments
 (0)