Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-06-23 13:33:47 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-06-23 13:33:47 +0300
commit0b7d7df7a52a7f049ed6be3bba52a06bc051e83b (patch)
tree1eb5112b60ca2612efca5059570510a236046de6 /app/assets/stylesheets/framework/files.scss
parent6ff571aa9a30b798a58eb1b02b9360466f231c01 (diff)
Limit the width of project READMEs
Diffstat (limited to 'app/assets/stylesheets/framework/files.scss')
-rw-r--r--app/assets/stylesheets/framework/files.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss
index da03e4f5b5e..31220ab438e 100644
--- a/app/assets/stylesheets/framework/files.scss
+++ b/app/assets/stylesheets/framework/files.scss
@@ -12,6 +12,12 @@
&.readme-holder {
margin: $gl-padding 0;
+
+ &.limited-width-container .file-content {
+ max-width: $limited-layout-width-sm;
+ margin-left: auto;
+ margin-right: auto;
+ }
}
table {