diff options
author | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-12-13 00:01:35 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-12-13 00:01:35 +0300 |
commit | dd62164d118c8bb741026abcab3db62aaedd18d5 (patch) | |
tree | d5d288632ff08a47d9ead6fba70b7764e6bb3b72 | |
parent | 6fa67ebda1503a3024d354dbb0e7baeef95f3c80 (diff) | |
parent | e04e22de6a2023c39879a2f1f9b7fb261e27a509 (diff) |
Merge branch 'winh-padding-classes' into 'master'
Add CSS helper classes for left and right padding
See merge request gitlab-org/gitlab-ce!23760
-rw-r--r-- | app/assets/stylesheets/framework/common.scss | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss index f2f3a45ca09..e037b02a30c 100644 --- a/app/assets/stylesheets/framework/common.scss +++ b/app/assets/stylesheets/framework/common.scss @@ -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}; } |