diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-10 19:57:39 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-10 19:57:39 +0300 |
commit | 343e37b88e06cda9fd3744ac15dff7f15e1c0aa4 (patch) | |
tree | cd797f4a2f656c35c064e46112488ab239964ad6 /app/assets/stylesheets/framework/blocks.scss | |
parent | f6d82455687541802281eb3d52f4a058854e5db6 (diff) |
Center all empty states
Diffstat (limited to 'app/assets/stylesheets/framework/blocks.scss')
-rw-r--r-- | app/assets/stylesheets/framework/blocks.scss | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/app/assets/stylesheets/framework/blocks.scss b/app/assets/stylesheets/framework/blocks.scss index ac1fc0eb8ae..3dec911d289 100644 --- a/app/assets/stylesheets/framework/blocks.scss +++ b/app/assets/stylesheets/framework/blocks.scss @@ -312,7 +312,7 @@ } .empty-state { - margin: 100px 0 0; + margin: 5% auto 0; .text-content { max-width: 460px; @@ -335,27 +335,12 @@ } .btn { - margin: $btn-side-margin $btn-side-margin 0 0; - } - - @media(max-width: $screen-xs-max) { - margin-top: 50px; - text-align: center; + margin: $btn-side-margin 5px; - .btn { + @media(max-width: $screen-xs-max) { width: 100%; } } - - @media(min-width: $screen-xs-max) { - &.merge-requests .text-content { - margin-top: 40px; - } - - &.labels .text-content { - margin-top: 70px; - } - } } .flex-container-block { |