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

Fix column styling

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