Commit ec83cfe8 authored by Samantha Ming's avatar Samantha Ming

Revert to previous scss and instead use gl class

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/297484
parent 55b4cc6f
...@@ -45,8 +45,7 @@ ...@@ -45,8 +45,7 @@
a { a {
font-family: $monospace-font; font-family: $monospace-font;
display: flex; display: block;
justify-content: flex-end;
font-size: $code-font-size !important; font-size: $code-font-size !important;
white-space: nowrap; white-space: nowrap;
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
%td.line-numbers %td.line-numbers
- (current_line...(current_line + line_count)).each do |i| - (current_line...(current_line + line_count)).each do |i|
%a.diff-line-num{ href: "#L#{i}", id: "L#{i}", 'data-line-number' => i } %a.diff-line-num.gl-justify-content-end{ href: "#L#{i}", id: "L#{i}", 'data-line-number' => i, class: "gl-display-flex!" }
= link_icon = link_icon
= i = i
\ \
......
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