mirror of
https://github.com/primer/css.git
synced 2024-12-01 12:42:32 +03:00
Add comments to direction classes
This commit is contained in:
parent
6bfb6e7995
commit
34232f1175
@ -83,14 +83,15 @@
|
||||
.min-width-0 { min-width: 0 !important; }
|
||||
|
||||
// Direction utilities
|
||||
|
||||
/* Set the direction to rtl */
|
||||
.direction-rtl { direction: rtl !important; }
|
||||
|
||||
/* Set the direction to ltr */
|
||||
.direction-ltr { direction: ltr !important; }
|
||||
|
||||
@each $breakpoint in map-keys($breakpoints) {
|
||||
@include breakpoint($breakpoint) {
|
||||
/* Set the direction to ltr at the #{$breakpoint} breakpoint */
|
||||
/* Set the direction to rtl at the #{$breakpoint} breakpoint */
|
||||
.direction-#{$breakpoint}-rtl { direction: rtl !important; }
|
||||
/* Set the direction to ltr at the #{$breakpoint} breakpoint */
|
||||
.direction-#{$breakpoint}-ltr { direction: ltr !important; }
|
||||
|
Loading…
Reference in New Issue
Block a user