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:
authorSamantha Ming <sming@gitlab.com>2019-08-10 05:36:32 +0300
committerMike Greiling <mike@pixelcog.com>2019-08-10 05:36:32 +0300
commitfc0ff7cf033e6267d7348057faee0fbedf5b90e8 (patch)
tree49dc31b7ff02ccd3cb37191fae100e7bbf661c54 /app/assets/stylesheets/pages/diff.scss
parentcdac9ed86fb2c3a373be5b923bc3f02387b528fc (diff)
Replace ... with new expansion options
- expand upwards - expand downwards - expand all in both inline and parallel views
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r--app/assets/stylesheets/pages/diff.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index 95ea49ad465..ffb27e54f34 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -408,6 +408,14 @@ table.code {
table-layout: fixed;
border-radius: 0 0 $border-radius-default $border-radius-default;
+ tr:first-of-type.line_expansion > td {
+ border-top: 0;
+ }
+
+ tr:nth-last-of-type(2).line_expansion > td {
+ border-bottom: 0;
+ }
+
tr.line_holder td {
line-height: $code-line-height;
font-size: $code-font-size;