Commit 888407aa authored by pburdette's avatar pburdette

Hide coverage on mobile

Hide the test coverage cell
on mobile devices 991 and under.
parent b816cc17
...@@ -12,6 +12,8 @@ const defaultTableClasses = { ...@@ -12,6 +12,8 @@ const defaultTableClasses = {
thClass: 'gl-bg-transparent! gl-border-b-solid! gl-border-b-gray-100! gl-p-5! gl-border-b-1!', thClass: 'gl-bg-transparent! gl-border-b-solid! gl-border-b-gray-100! gl-p-5! gl-border-b-1!',
}; };
const coverageTdClasses = `${defaultTableClasses.tdClass} gl-display-none! gl-lg-display-table-cell!`;
export default { export default {
i18n: { i18n: {
emptyText: s__('Jobs|No jobs to show'), emptyText: s__('Jobs|No jobs to show'),
...@@ -56,7 +58,8 @@ export default { ...@@ -56,7 +58,8 @@ export default {
{ {
key: 'coverage', key: 'coverage',
label: __('Coverage'), label: __('Coverage'),
...defaultTableClasses, tdClass: coverageTdClasses,
thClass: defaultTableClasses.thClass,
columnClass: 'gl-w-10p', columnClass: 'gl-w-10p',
}, },
{ {
......
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