summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortauriedavis <taurie@gitlab.com>2018-01-17 14:16:07 -0800
committertauriedavis <taurie@gitlab.com>2018-01-17 14:27:31 -0800
commitfe2a14136b5978823ebd024141a00a236fedddd0 (patch)
tree14cc3ffaff86200ca44445fda64f727051627399
parentf351cc28c2c878bf491bb0886be65bf35b58b261 (diff)
downloadgitlab-ce-file-content-large-screen-padding.tar.gz
Double padding for file-content wiki class on larger screensfile-content-large-screen-padding
-rw-r--r--app/assets/stylesheets/framework/files.scss4
-rw-r--r--changelogs/unreleased/file-content-large-screen-padding.yml5
2 files changed, 9 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss
index 1e91db5af9b..d835d49d8b2 100644
--- a/app/assets/stylesheets/framework/files.scss
+++ b/app/assets/stylesheets/framework/files.scss
@@ -124,6 +124,10 @@
&.wiki {
padding: $gl-padding;
+
+ @media (min-width: $screen-md-min) {
+ padding: $gl-padding * 2;
+ }
}
&.blob-no-preview {
diff --git a/changelogs/unreleased/file-content-large-screen-padding.yml b/changelogs/unreleased/file-content-large-screen-padding.yml
new file mode 100644
index 00000000000..5691cd09b1f
--- /dev/null
+++ b/changelogs/unreleased/file-content-large-screen-padding.yml
@@ -0,0 +1,5 @@
+---
+title: Double padding for file-content wiki class on larger screens
+merge_request:
+author:
+type: changed