-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename .text-xs-*
to .text-*
#21217
Rename .text-xs-*
to .text-*
#21217
Conversation
.text-#{$breakpoint}-center { text-align: center !important; } | ||
} @else { | ||
.text-left { text-align: left !important; } | ||
.text-right { text-align: right !important; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening curly brace {
should be preceded by one space
.text-#{$breakpoint}-right { text-align: right !important; } | ||
.text-#{$breakpoint}-center { text-align: center !important; } | ||
} @else { | ||
.text-left { text-align: left !important; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening curly brace {
should be preceded by one space
|
||
@if $min { | ||
.text-#{$breakpoint}-left { text-align: left !important; } | ||
.text-#{$breakpoint}-right { text-align: right !important; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening curly brace {
should be preceded by one space
$min: breakpoint-min($breakpoint, $grid-breakpoints); | ||
|
||
@if $min { | ||
.text-#{$breakpoint}-left { text-align: left !important; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening curly brace {
should be preceded by one space
I've noticed a trend that we're removing
xs
from class names, so I thought that we should do this for the text utilities too. All I did was grep all the files for lines containingtext-xs-
and replaced that with justtext-
, and use the SCSS logic fromscss/utilities/_spacing.scss
(at line 20) to get rid of the-xs
.