Commit 95dae81e authored by Jacques's avatar Jacques Committed by David O'Regan

Improve TBT on file source view

Optimized CSS for line number rendering

Changelog: performance
parent 2847f795
......@@ -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;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment