Add CSS helper classes for left and right padding
This commit is contained in:
parent
b388111f6e
commit
e04e22de6a
1 changed files with 14 additions and 0 deletions
|
@ -387,3 +387,17 @@ img.emoji {
|
|||
.mw-460 { max-width: 460px; }
|
||||
.ws-initial { white-space: initial; }
|
||||
.min-height-0 { min-height: 0; }
|
||||
|
||||
.gl-pl-0 { padding-left: 0; }
|
||||
.gl-pl-1 { padding-left: #{0.5 * $grid-size}; }
|
||||
.gl-pl-2 { padding-left: $grid-size; }
|
||||
.gl-pl-3 { padding-left: #{2 * $grid-size}; }
|
||||
.gl-pl-4 { padding-left: #{3 * $grid-size}; }
|
||||
.gl-pl-5 { padding-left: #{4 * $grid-size}; }
|
||||
|
||||
.gl-pr-0 { padding-right: 0; }
|
||||
.gl-pr-1 { padding-right: #{0.5 * $grid-size}; }
|
||||
.gl-pr-2 { padding-right: $grid-size; }
|
||||
.gl-pr-3 { padding-right: #{2 * $grid-size}; }
|
||||
.gl-pr-4 { padding-right: #{3 * $grid-size}; }
|
||||
.gl-pr-5 { padding-right: #{4 * $grid-size}; }
|
||||
|
|
Loading…
Reference in a new issue