summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-16 15:20:52 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-16 15:20:52 +0000
commit2ff13cb37ebde37eae12e875d28d5239821cfac6 (patch)
tree3edc0fc13e01287de1df83ee0bd9d5e40975fe90
parentefc31446a336320f9e01de855aa09db354accae7 (diff)
parentb4cc05e56e6178b55d554ab95da051fe91a4765b (diff)
downloadgitlab-ce-2ff13cb37ebde37eae12e875d28d5239821cfac6.tar.gz
Merge branch 'fix-wiki-padding' into 'master'
Dont put padding on typography but on holder elements instead Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Fixes wrong padding of wiki content. cc @JobV @skyruler See merge request !1620
-rw-r--r--app/assets/stylesheets/framework/typography.scss2
-rw-r--r--app/assets/stylesheets/pages/help.scss4
-rw-r--r--app/assets/stylesheets/pages/projects.scss4
3 files changed, 8 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index 6ccc084526a..1f4341b2462 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -207,9 +207,7 @@ a > code {
*/
.wiki {
@include md-typography;
-
word-wrap: break-word;
- padding: 7px;
/* Link to current header. */
h1, h2, h3, h4, h5, h6 {
diff --git a/app/assets/stylesheets/pages/help.scss b/app/assets/stylesheets/pages/help.scss
index 6da7a2511a2..bd224705f04 100644
--- a/app/assets/stylesheets/pages/help.scss
+++ b/app/assets/stylesheets/pages/help.scss
@@ -68,3 +68,7 @@ body.modal-open {
.modal .modal-dialog {
width: 860px;
}
+
+.documentation {
+ padding: 7px;
+}
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss
index 0dddb6b6ed4..48b87750264 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -542,3 +542,7 @@ pre.light-well {
}
}
}
+
+.project-show-readme .readme-holder {
+ padding: 7px;
+}