summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/highlight
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-18 13:16:36 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-18 13:16:36 +0000
commit311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch)
tree07e7870bca8aed6d61fdcc810731c50d2c40af47 /app/assets/stylesheets/highlight
parent27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff)
downloadgitlab-ce-311b0269b4eb9839fa63f80c8d7a58f32b8138a0.tar.gz
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'app/assets/stylesheets/highlight')
-rw-r--r--app/assets/stylesheets/highlight/common.scss9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/stylesheets/highlight/common.scss b/app/assets/stylesheets/highlight/common.scss
index 8270db9966e..fb4266a2f41 100644
--- a/app/assets/stylesheets/highlight/common.scss
+++ b/app/assets/stylesheets/highlight/common.scss
@@ -96,9 +96,10 @@
}
@mixin line-number-link($color) {
+ min-width: $gl-spacing-scale-9;
+
&::before {
- @include gl-visibility-hidden;
- @include gl-display-inline-block;
+ @include gl-display-none;
@include gl-align-self-center;
@include gl-mt-2;
@include gl-mr-2;
@@ -114,10 +115,10 @@
}
&:hover::before {
- @include gl-visibility-visible;
+ @include gl-display-inline-block;
}
&:focus::before {
- @include gl-visibility-visible;
+ @include gl-display-inline-block;
}
}