Commit f16f7be8 authored by Filipa Lacerda's avatar Filipa Lacerda

Fixes whitespace and line numbers

The job log was not preserving the whitespace
Changes the line number color to a more visible one
Removes position absolute to fix scroll
parent ce9a7342
......@@ -48,7 +48,7 @@ export default {
<template>
<gl-link
:id="lineNumberId"
class="d-inline-block text-right position-absolute line-number"
class="d-inline-block text-right line-number"
:href="buildLineNumber"
>{{ parsedLineNumber }}</gl-link
>
......
......@@ -9,6 +9,7 @@
border-radius: $border-radius-small;
min-height: 42px;
background-color: $builds-trace-bg;
white-space: pre-wrap;
}
.log-line {
......@@ -17,7 +18,7 @@
}
.line-number {
color: $gl-text-color-inverted;
color: $gl-gray-500;
padding: 0 $gl-padding-8;
min-width: $job-line-number-width;
margin-left: -$job-line-number-margin;
......@@ -27,7 +28,7 @@
&:active,
&:visited {
text-decoration: underline;
color: $gl-text-color-inverted;
color: $gl-gray-500;
}
}
......
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