-
Notifications
You must be signed in to change notification settings - Fork 3.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
Fixing padding issues #6551
Fixing padding issues #6551
Conversation
@@ -1098,6 +1098,15 @@ | |||
@include padding($baseline $baseline 0 $baseline); | |||
border: 1px solid $gray-l5; | |||
} | |||
|
|||
.padded-content { | |||
padding-left: $baseline !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.
Woah! Why the !important
? Any way you can scope this with a more descriptive selector or its order in the cascade?
0238a94
to
9a82cfa
Compare
@@ -560,6 +560,10 @@ | |||
|
|||
.form-actions { | |||
@include padding($baseline 0 $baseline 0); |
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.
NIT: no need to have all 4 values in this shorthand.
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.
NIT: no need to use the RTL include padding()
mixin here (since all values are equal).
@clrux, thanks for the revisions. Aside from my small nits on RTL, this looks good. Once you clean those up, 👍 |
9a82cfa
to
360324e
Compare
360324e
to
e29f093
Compare
This addresses the padding issues, @talbs @andy-armstrong @cahrens.