Cleanup utility classes

Removed unncessary font weight utilities (table headers have bold font
out of the box). Replaced Boostrap util with GL one.
parent 82fa4f9a
......@@ -100,23 +100,20 @@ export default {
const namespace = {
key: 'namespace',
label: s__('NetworkPolicies|Namespace'),
thClass: 'font-weight-bold',
};
const fields = [
{
key: 'name',
label: s__('NetworkPolicies|Name'),
thClass: 'w-50 font-weight-bold',
thClass: 'gl-w-half',
},
{
key: 'status',
label: s__('NetworkPolicies|Status'),
thClass: 'font-weight-bold',
},
{
key: 'updatedAt',
label: s__('NetworkPolicies|Last modified'),
thClass: 'font-weight-bold',
},
];
// Adds column 'namespace' only while 'all environments' option is selected
......
......@@ -25,7 +25,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = `
>
<th
aria-colindex="1"
class="w-50 font-weight-bold"
class="gl-w-half"
role="columnheader"
scope="col"
>
......@@ -35,7 +35,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = `
</th>
<th
aria-colindex="2"
class="font-weight-bold"
class=""
role="columnheader"
scope="col"
>
......@@ -45,7 +45,7 @@ exports[`NetworkPolicyList component renders policies table 1`] = `
</th>
<th
aria-colindex="3"
class="font-weight-bold"
class=""
role="columnheader"
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