Commit bd62e4a3 authored by David O'Regan's avatar David O'Regan Committed by Nicolò Maria Mezzopera

Fix Incident and Alert mobile

parent c7330abb
...@@ -282,7 +282,7 @@ export default { ...@@ -282,7 +282,7 @@ export default {
@sort-changed="fetchSortedData" @sort-changed="fetchSortedData"
> >
<template #cell(title)="{ item }"> <template #cell(title)="{ item }">
<div class="incident-management-list-title gl-display-flex gl-align-items-center"> <div :class="{ 'gl-display-flex gl-align-items-center': item.state === 'closed' }">
<div class="gl-max-w-full text-truncate" :title="item.title">{{ item.title }}</div> <div class="gl-max-w-full text-truncate" :title="item.title">{{ item.title }}</div>
<gl-icon <gl-icon
v-if="item.state === 'closed'" v-if="item.state === 'closed'"
......
...@@ -19,10 +19,6 @@ ...@@ -19,10 +19,6 @@
@include gl-relative; @include gl-relative;
} }
.sortable-cell {
padding-left: calc(0.75rem + 0.65em);
}
th { th {
@include gl-bg-transparent; @include gl-bg-transparent;
@include gl-font-weight-bold; @include gl-font-weight-bold;
...@@ -42,6 +38,10 @@ ...@@ -42,6 +38,10 @@
} }
} }
} }
.sortable-cell {
padding-left: calc(0.75rem + 0.65em);
}
} }
} }
...@@ -58,6 +58,11 @@ ...@@ -58,6 +58,11 @@
@include gl-bg-white; @include gl-bg-white;
@include gl-border-none; @include gl-border-none;
} }
th,
td {
@include gl-pt-6;
}
} }
&.alert-management-table { &.alert-management-table {
...@@ -77,8 +82,24 @@ ...@@ -77,8 +82,24 @@
} }
} }
.incident-management-list-title { .b-table-empty-row {
@include gl-flex-direction-row-reverse; td {
@include gl-border-b-0;
div {
text-align: unset !important;
}
}
}
.b-table-busy-slot {
td {
@include gl-border-b-0;
div {
text-align: center !important;
}
}
} }
} }
} }
......
---
title: Fix Incident and Alert mobile CSS and alignment
merge_request: 38577
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