Commit 9faefa99 authored by Filipa Lacerda's avatar Filipa Lacerda

Fixes CSS leaks for job log

Renames existing classes in the job log
refactor
parent 0cddd4df
......@@ -9,5 +9,7 @@ export default {
};
</script>
<template>
<div class="duration rounded align-self-start px-2 ml-2 flex-shrink-0">{{ duration }}</div>
<div class="log-duration-badge rounded align-self-start px-2 ml-2 flex-shrink-0">
{{ duration }}
</div>
</template>
......@@ -19,7 +19,7 @@ export default {
</script>
<template>
<div class="line">
<div class="log-line">
<line-number :line-number="line.lineNumber" :path="path" />
<span v-for="(content, i) in line.content" :key="i" :class="content.style">{{
content.text
......
......@@ -43,7 +43,7 @@ export default {
<template>
<div
class="line collapsible-line d-flex justify-content-between"
class="log-line collapsible-line d-flex justify-content-between"
role="button"
@click="handleOnClick"
>
......
......@@ -11,7 +11,7 @@
background-color: $builds-trace-bg;
}
.line {
.log-line {
padding: 1px $gl-padding 1px $job-log-line-padding;
}
......@@ -40,7 +40,7 @@
}
}
.duration {
.log-duration-badge {
background: $gl-gray-400;
}
......
---
title: Fix CSS leak in job log
merge_request:
author:
type: fixed
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