Commit 5297157d authored by Savas Vedova's avatar Savas Vedova

Fix column styling

- Add changelog
parent 7b4340f1
...@@ -88,17 +88,17 @@ export default { ...@@ -88,17 +88,17 @@ export default {
{ {
key: 'checkbox', key: 'checkbox',
class: this.checkboxClass, class: this.checkboxClass,
thClass: commonThClass, thClass: `gl-w-9 ${commonThClass}`,
}, },
{ {
key: 'state', key: 'state',
label: s__('Vulnerability|Status'), label: s__('Vulnerability|Status'),
thClass: `gl-w-64 ${commonThClass}`, thClass: `vulnerability-td ${commonThClass}`,
}, },
{ {
key: 'severity', key: 'severity',
label: s__('Vulnerability|Severity'), label: s__('Vulnerability|Severity'),
thClass: `gl-w-64 ${commonThClass}`, thClass: `vulnerability-td ${commonThClass}`,
}, },
{ {
key: 'title', key: 'title',
...@@ -181,6 +181,7 @@ export default { ...@@ -181,6 +181,7 @@ export default {
> >
<template #head(checkbox)> <template #head(checkbox)>
<gl-form-checkbox <gl-form-checkbox
class="mr-0 mb-0"
:checked="hasSelectedAllVulnerabilities" :checked="hasSelectedAllVulnerabilities"
@change="toggleAllVulnerabilities" @change="toggleAllVulnerabilities"
/> />
...@@ -188,7 +189,7 @@ export default { ...@@ -188,7 +189,7 @@ export default {
<template #cell(checkbox)="{ item }"> <template #cell(checkbox)="{ item }">
<gl-form-checkbox <gl-form-checkbox
class="d-inline-block mr-0" class="d-inline-block mr-0 mb-0"
:checked="isSelected(item)" :checked="isSelected(item)"
@change="toggleVulnerability(item)" @change="toggleVulnerability(item)"
/> />
...@@ -248,3 +249,8 @@ export default { ...@@ -248,3 +249,8 @@ export default {
</gl-table> </gl-table>
</div> </div>
</template> </template>
<style>
.vulnerability-td {
width: 8rem;
}
</style>
---
title: Fix column styling in the vulnerability list
merge_request: 34619
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