Skip to content

Commit

Permalink
Add RTL support
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Oct 13, 2023
1 parent fdd70d4 commit 64307d0
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@
white-space: nowrap;
}

[dir="rtl"] & {
padding-left: var(--wp--preset--spacing--20);
padding-right: calc(var(--wp--custom--wporg-site-meta-list--label--width) + var(--wp--preset--spacing--10));

strong {
left: unset;
right: var(--wp--preset--spacing--20);
}
}

@media (max-width: 380px) {
text-align: start;
padding-left: var(--wp--preset--spacing--20);
Expand All @@ -43,6 +53,10 @@
display: block;
max-width: unset;
}

[dir="rtl"] & {
padding-right: var(--wp--preset--spacing--20);
}
}
}

Expand Down

0 comments on commit 64307d0

Please sign in to comment.