diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-11 08:04:53 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-11 08:04:53 +0000 |
commit | 4cb5918eaa82bf45c3ba2400c88880a16fd08937 (patch) | |
tree | 6c005683d4e99b45797279c106f6a749f35686b8 | |
parent | 44d775dc56821b9994b99d08d0bc79d3501efa19 (diff) | |
parent | 9956805aa59c225e79b549d0b0cb09b688652b66 (diff) | |
download | gitlab-ce-4cb5918eaa82bf45c3ba2400c88880a16fd08937.tar.gz |
Merge branch 'file-content-mobile' into 'master'
Reduce top and bottom margin on file viewer on mobile
See merge request !14114
-rw-r--r-- | app/assets/stylesheets/framework/files.scss | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss index 8ad082f7a65..588ec1ff3bc 100644 --- a/app/assets/stylesheets/framework/files.scss +++ b/app/assets/stylesheets/framework/files.scss @@ -17,8 +17,11 @@ max-width: $limited-layout-width-sm; margin-left: auto; margin-right: auto; - padding-top: 64px; - padding-bottom: 64px; + + @media (min-width: $screen-md-min) { + padding-top: 64px; + padding-bottom: 64px; + } } } |