summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/mixins.scss
diff options
context:
space:
mode:
authorjerasmus <jerasmus@gitlab.com>2018-10-15 12:42:24 +0200
committerjerasmus <jerasmus@gitlab.com>2018-10-15 12:42:24 +0200
commit58f29d5f855ea2e1411b99804a74710483a13f90 (patch)
tree0b06ecd3c0bb1bcf3d3c6660c2bc49eefaff08b2 /app/assets/stylesheets/framework/mixins.scss
parent0572da24c990fc01d88acfbd32728221e3e3a711 (diff)
parenta9827357186e38e5732d8dae23d9d02b1f4c7218 (diff)
downloadgitlab-ce-58f29d5f855ea2e1411b99804a74710483a13f90.tar.gz
Merge branch 'master' into 48746-fix-files-uploaded-in-base6448746-fix-files-uploaded-in-base64
Diffstat (limited to 'app/assets/stylesheets/framework/mixins.scss')
-rw-r--r--app/assets/stylesheets/framework/mixins.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/mixins.scss b/app/assets/stylesheets/framework/mixins.scss
index be41dbfc61f..1c84baf68ed 100644
--- a/app/assets/stylesheets/framework/mixins.scss
+++ b/app/assets/stylesheets/framework/mixins.scss
@@ -12,6 +12,15 @@
max-width: $max-width;
}
+/**
+ * Mixin for fixed width container
+ */
+@mixin fixed-width-container {
+ max-width: $limited-layout-width - ($gl-padding * 2);
+ margin-left: auto;
+ margin-right: auto;
+}
+
/*
* Mixin for markdown tables
*/