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>2018-11-16 12:42:04 +0300
committerPhil Hughes <me@iamphill.com>2018-11-16 12:42:04 +0300
commit718c66f6ee80fe49a64f6181a2fff17f208e094a (patch)
treef07d910c69e91a5c9687276dd084db21f7898aaa /app/assets/stylesheets/pages/diff.scss
parent0f25d2b33fbee7161f0ecf26a6d853533808beec (diff)
Fixed image discussion styling
Fixes the styling of image discussions after the discussion styling changes. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54110
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r--app/assets/stylesheets/pages/diff.scss14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index 6d998fa1e07..3c7bf0b0e46 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -842,11 +842,15 @@
background-repeat: repeat;
}
- .diff-file-discussions + .discussion-form::before {
- width: auto;
- margin-left: -16px;
- margin-right: -16px;
- margin-bottom: 16px;
+ .diff-file-discussions + .discussion-form {
+ padding: $gl-padding;
+
+ &::before {
+ width: auto;
+ margin-left: -$gl-padding;
+ margin-right: -$gl-padding;
+ margin-bottom: $gl-padding;
+ }
}
.notes {