Commit 964c50eb authored by Mike Greiling's avatar Mike Greiling

Merge branch...

Merge branch '8891-table-headers-font-size-is-too-big-in-group-level-security-dashboard' into 'master'

Fix Security Dashboard Header fontsize

Closes #8891

See merge request gitlab-org/gitlab-ee!9011
parents 376fba4a ae7c2a80
...@@ -57,7 +57,10 @@ export default { ...@@ -57,7 +57,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') }}
...@@ -108,8 +111,6 @@ export default { ...@@ -108,8 +111,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