Commit 065f96a3 authored by Miguel Rincon's avatar Miguel Rincon

Fix padding on CI settings tables in mobile version

To make the table more compact in larger screens some extra padding was
removed, however this removed all space in the mobile version as well.

This change fixes that, by restoring the padding and aligning the row
actions to the right.
parent 70e02303
......@@ -46,6 +46,7 @@ export default {
{
key: 'actions',
label: '',
tdClass: 'text-right',
customStyle: { width: '35px' },
},
],
......
......@@ -384,6 +384,13 @@
font-weight: $gl-font-weight-bold;
border: 0;
}
// When tables are "stacked", restore td padding
@media(max-width: map-get($grid-breakpoints, lg)) {
td {
padding-left: $gl-spacing-scale-5;
}
}
}
}
......
---
title: Fix padding on CI settings tables in mobile version
merge_request: 41728
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