summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-07 09:10:16 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-08 12:39:23 -0700
commit9956805aa59c225e79b549d0b0cb09b688652b66 (patch)
tree445adad46376b1af70fd61f3a04664d3f768e0ae
parent2f46c3a80f6949bbf67d7ab80e0c87ab88e55031 (diff)
downloadgitlab-ce-file-content-mobile.tar.gz
Reduce top and bottom margin on file viewer on mobilefile-content-mobile
-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;
+ }
}
}