mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 19:26:14 -04:00
chore: replace right/left with inline-* value for better rtl support
This commit is contained in:
parent
6dc6489e69
commit
2ee481103c
14 changed files with 44 additions and 61 deletions
|
@ -61,21 +61,21 @@
|
|||
|
||||
#{$close-selector} {
|
||||
margin: 0;
|
||||
margin-left: var(#{$css-var-prefix}spacing);
|
||||
margin-inline-start: var(#{$css-var-prefix}spacing);
|
||||
padding: 0;
|
||||
float: right;
|
||||
float: inline-end;
|
||||
}
|
||||
}
|
||||
|
||||
> footer {
|
||||
text-align: right;
|
||||
text-align: end;
|
||||
|
||||
button,
|
||||
[role="button"] {
|
||||
margin-bottom: 0;
|
||||
|
||||
&:not(:first-of-type) {
|
||||
margin-left: calc(var(#{$css-var-prefix}spacing) * 0.5);
|
||||
margin-inline-start: calc(var(#{$css-var-prefix}spacing) * 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -116,7 +116,7 @@
|
|||
// Utilities
|
||||
@if $enable-classes {
|
||||
.modal-is-open {
|
||||
padding-right: var(#{$css-var-prefix}scrollbar-width, 0px);
|
||||
padding-inline-end: var(#{$css-var-prefix}scrollbar-width, 0px);
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
touch-action: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue