summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-11 08:04:53 +0000
committerJarka Kadlecova <jarka@gitlab.com>2017-09-12 12:53:34 +0200
commit939c7625c92b8510c37a15a439c2be4373a6ab20 (patch)
tree49c1b9740e43f5b64d8f535142731973a00d8903
parentee99781a246da051052523de6de1ca12f595deff (diff)
downloadgitlab-ce-939c7625c92b8510c37a15a439c2be4373a6ab20.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.scss7
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;
+ }
}
}