Commit ae7c2a80 authored by Lukas Eipert's avatar Lukas Eipert

Fix Security Dashboard Header font size

parent 2efc19f8
...@@ -53,7 +53,10 @@ export default { ...@@ -53,7 +53,10 @@ export default {
<template> <template>
<div class="ci-table"> <div class="ci-table">
<div class="gl-responsive-table-row table-row-header vulnerabilities-row-header" role="row"> <div
class="gl-responsive-table-row table-row-header vulnerabilities-row-header px-2"
role="row"
>
<div class="table-section section-10" role="rowheader">{{ s__('Reports|Severity') }}</div> <div class="table-section section-10" role="rowheader">{{ s__('Reports|Severity') }}</div>
<div class="table-section section-60" role="rowheader"> <div class="table-section section-60" role="rowheader">
{{ s__('Reports|Vulnerability') }} {{ s__('Reports|Vulnerability') }}
...@@ -104,8 +107,6 @@ export default { ...@@ -104,8 +107,6 @@ export default {
<style> <style>
.vulnerabilities-row-header { .vulnerabilities-row-header {
background-color: #fafafa; background-color: #fafafa;
font-size: 1rem; font-size: 14px;
padding-left: 0.4em;
padding-right: 0.4em;
} }
</style> </style>
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
</script> </script>
<template> <template>
<div class="gl-responsive-table-row vulnerabilities-row" :class="{ dismissed: isDismissed }"> <div class="gl-responsive-table-row vulnerabilities-row p-2" :class="{ dismissed: isDismissed }">
<div class="table-section section-10"> <div class="table-section section-10">
<div class="table-mobile-header" role="rowheader">{{ s__('Reports|Severity') }}</div> <div class="table-mobile-header" role="rowheader">{{ s__('Reports|Severity') }}</div>
<div class="table-mobile-content"><severity-badge :severity="severity" /></div> <div class="table-mobile-content"><severity-badge :severity="severity" /></div>
...@@ -110,10 +110,6 @@ export default { ...@@ -110,10 +110,6 @@ export default {
<style scoped> <style scoped>
@media (min-width: 768px) { @media (min-width: 768px) {
.vulnerabilities-row {
padding: 0.6em 0.4em;
}
.vulnerabilities-row:hover, .vulnerabilities-row:hover,
.vulnerabilities-row:focus { .vulnerabilities-row:focus {
background: #f6fafd; background: #f6fafd;
......
---
title: Fix Security Dashboard Header font size
merge_request: 9011
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