Commit 67a79e97 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch 'policy-list-cleanup' into 'master'

Cleanup CSS utilities in policy list

See merge request gitlab-org/gitlab!64706
parents ea525f3b d1f64cd7
...@@ -100,23 +100,20 @@ export default { ...@@ -100,23 +100,20 @@ export default {
const namespace = { const namespace = {
key: 'namespace', key: 'namespace',
label: s__('NetworkPolicies|Namespace'), label: s__('NetworkPolicies|Namespace'),
thClass: 'font-weight-bold',
}; };
const fields = [ const fields = [
{ {
key: 'name', key: 'name',
label: s__('NetworkPolicies|Name'), label: s__('NetworkPolicies|Name'),
thClass: 'w-50 font-weight-bold', thClass: 'gl-w-half',
}, },
{ {
key: 'status', key: 'status',
label: s__('NetworkPolicies|Status'), label: s__('NetworkPolicies|Status'),
thClass: 'font-weight-bold',
}, },
{ {
key: 'updatedAt', key: 'updatedAt',
label: s__('NetworkPolicies|Last modified'), label: s__('NetworkPolicies|Last modified'),
thClass: 'font-weight-bold',
}, },
]; ];
// Adds column 'namespace' only while 'all environments' option is selected // Adds column 'namespace' only while 'all environments' option is selected
......
...@@ -25,7 +25,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = ` ...@@ -25,7 +25,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = `
> >
<th <th
aria-colindex="1" aria-colindex="1"
class="w-50 font-weight-bold" class="gl-w-half"
role="columnheader" role="columnheader"
scope="col" scope="col"
> >
...@@ -35,7 +35,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = ` ...@@ -35,7 +35,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = `
</th> </th>
<th <th
aria-colindex="2" aria-colindex="2"
class="font-weight-bold" class=""
role="columnheader" role="columnheader"
scope="col" scope="col"
> >
...@@ -45,7 +45,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = ` ...@@ -45,7 +45,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = `
</th> </th>
<th <th
aria-colindex="3" aria-colindex="3"
class="font-weight-bold" class=""
role="columnheader" role="columnheader"
scope="col" scope="col"
> >
......
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