Skip to content

Commit

Permalink
fix: rtl mobile layout view (#4645)
Browse files Browse the repository at this point in the history
Co-authored-by: Rajdeep Chandra <rajdeepchandra@Rajdeeps-MacBook-Pro-2.local>
  • Loading branch information
Rajdeepc and Rajdeep Chandra authored Aug 2, 2024
1 parent ab9d468 commit 4b2d688
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/documentation/src/components/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ aside {
right: 0;
background-color: var(--spectrum-gray-75);
width: calc(var(--swc-scale-factor) * 192px);
transition: transform
transition:
transform
var(
--spectrum-dialog-confirm-background-entry-animation-duration,
var(--spectrum-animation-duration-600)
Expand Down Expand Up @@ -297,6 +298,6 @@ sp-underlay:not([open]) + aside {
right: auto;
}

:host([dir='rtl']) aside:not(.show) {
:host([dir='rtl']) sp-underlay:not([open]) + aside {
transform: translateX(-100%);
}

0 comments on commit 4b2d688

Please # to comment.