Commit b2833169 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '221242-fix-alerts-list-sorting' into 'master'

Alert list stying issues

See merge request gitlab-org/gitlab!35741
parents 97f7010e 7b521398
...@@ -74,9 +74,8 @@ export default { ...@@ -74,9 +74,8 @@ export default {
{ {
key: 'title', key: 'title',
label: s__('AlertManagement|Alert'), label: s__('AlertManagement|Alert'),
thClass: `${thClass} gl-pointer-events-none`, thClass: `gl-pointer-events-none`,
tdClass, tdClass,
sortable: false,
}, },
{ {
key: 'eventCount', key: 'eventCount',
...@@ -88,7 +87,7 @@ export default { ...@@ -88,7 +87,7 @@ export default {
{ {
key: 'assignees', key: 'assignees',
label: s__('AlertManagement|Assignees'), label: s__('AlertManagement|Assignees'),
thClass: 'gl-w-eighth', thClass: 'gl-w-eighth gl-pointer-events-none',
tdClass, tdClass,
}, },
{ {
......
...@@ -8,14 +8,9 @@ ...@@ -8,14 +8,9 @@
outline: none; outline: none;
} }
> :not([aria-sort='none']).b-table-sort-icon-left:hover::before {
content: '' !important;
}
td, td,
th { th {
// TODO: There is no gl-pl-9 utlity for this padding, to be done and then removed. @include gl-pl-9;
padding-left: 1.25rem;
@include gl-py-5; @include gl-py-5;
@include gl-outline-none; @include gl-outline-none;
@include gl-relative; @include gl-relative;
...@@ -26,24 +21,8 @@ ...@@ -26,24 +21,8 @@
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
color: $gl-gray-600; color: $gl-gray-600;
&:hover::before { &[aria-sort='none']:hover {
left: 3%; background-image: url('data:image/svg+xml, %3csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="4 0 8 16"%3e %3cpath style="fill: %23BABABA;" fill-rule="evenodd" d="M11.707085,11.7071 L7.999975,15.4142 L4.292875,11.7071 C3.902375,11.3166 3.902375, 10.6834 4.292875,10.2929 C4.683375,9.90237 5.316575,9.90237 5.707075,10.2929 L6.999975, 11.5858 L6.999975,2 C6.999975,1.44771 7.447695,1 7.999975,1 C8.552255,1 8.999975,1.44771 8.999975,2 L8.999975,11.5858 L10.292865,10.2929 C10.683395 ,9.90237 11.316555,9.90237 11.707085,10.2929 C12.097605,10.6834 12.097605,11.3166 11.707085,11.7071 Z"/%3e %3c/svg%3e');
top: 34%;
@include gl-absolute;
content: url("data:image/svg+xml,%3Csvg \
xmlns='http://www.w3.org/2000/svg' \
width='14' height='14' viewBox='0 0 16 \
16'%3E%3Cpath fill='%23BABABA' fill-rule='evenodd' \
d='M11.707085,11.7071 L7.999975,15.4142 L4.292875,11.7071 \
C3.902375,11.3166 3.902375,10.6834 \
4.292875,10.2929 C4.683375,9.90237 \
5.316575,9.90237 5.707075,10.2929 \
L6.999975,11.5858 L6.999975,2 C6.999975,1.44771 \
7.447695,1 7.999975,1 C8.552255,1 8.999975,1.44771 \
8.999975,2 L8.999975,11.5858 L10.292865,10.2929 \
C10.683395,9.90237 11.316555,9.90237 11.707085,10.2929 \
C12.097605,10.6834 12.097605,11.3166 11.707085,11.7071 \
Z'/%3E%3C/svg%3E%0A");
} }
} }
} }
......
---
title: Fix alert sort styling issues
merge_request: 35741
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