Commit 1d4fff60 authored by David O'Regan's avatar David O'Regan Committed by Natalia Tepluhina

Alert management list spacing

parent 3a81e4a7
...@@ -60,15 +60,15 @@ export default { ...@@ -60,15 +60,15 @@ export default {
{ {
key: 'severity', key: 'severity',
label: s__('AlertManagement|Severity'), label: s__('AlertManagement|Severity'),
tdClass: `${tdClass} rounded-top text-capitalize`,
thClass: `${thClass} gl-w-eighth`, thClass: `${thClass} gl-w-eighth`,
tdClass: `${tdClass} rounded-top text-capitalize sortable-cell`,
sortable: true, sortable: true,
}, },
{ {
key: 'startedAt', key: 'startedAt',
label: s__('AlertManagement|Start time'), label: s__('AlertManagement|Start time'),
thClass: `${thClass} js-started-at w-15p`, thClass: `${thClass} js-started-at w-15p`,
tdClass, tdClass: `${tdClass} sortable-cell`,
sortable: true, sortable: true,
}, },
{ {
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
key: 'eventCount', key: 'eventCount',
label: s__('AlertManagement|Events'), label: s__('AlertManagement|Events'),
thClass: `${thClass} text-right gl-w-12`, thClass: `${thClass} text-right gl-w-12`,
tdClass: `${tdClass} text-md-right`, tdClass: `${tdClass} text-md-right sortable-cell`,
sortable: true, sortable: true,
}, },
{ {
...@@ -89,7 +89,6 @@ export default { ...@@ -89,7 +89,6 @@ export default {
label: s__('AlertManagement|Issue'), label: s__('AlertManagement|Issue'),
thClass: 'gl-w-12 gl-pointer-events-none', thClass: 'gl-w-12 gl-pointer-events-none',
tdClass, tdClass,
sortable: false,
}, },
{ {
key: 'assignees', key: 'assignees',
...@@ -99,9 +98,9 @@ export default { ...@@ -99,9 +98,9 @@ export default {
}, },
{ {
key: 'status', key: 'status',
thClass: `${thClass} w-15p`,
label: s__('AlertManagement|Status'), label: s__('AlertManagement|Status'),
tdClass: `${tdClass} rounded-bottom`, thClass: `${thClass} w-15p`,
tdClass: `${tdClass} rounded-bottom sortable-cell`,
sortable: true, sortable: true,
}, },
], ],
......
...@@ -14,12 +14,15 @@ ...@@ -14,12 +14,15 @@
td, td,
th { th {
@include gl-pl-9;
@include gl-py-5; @include gl-py-5;
@include gl-outline-none; @include gl-outline-none;
@include gl-relative; @include gl-relative;
} }
.sortable-cell {
padding-left: calc(0.75rem + 0.65em);
}
th { th {
background-color: transparent; background-color: transparent;
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
......
---
title: Alert management list spacing
merge_request: 37320
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