Commit 8d7b32f5 authored by Simon Knox's avatar Simon Knox Committed by Illya Klymov

Prevent vuln table header from cutting off dropdown

Instead of z-index racing, make a new stacking context for the
table.

The checkboxes have z-index: 1 (from bootstrap), which caused
them to float above the header (so that _does_ need z-index),
but everything outside the table should be stacked above it.

Changelog: fixed
EE: true
parent eabf5eba
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
<template> <template>
<gl-collapse <gl-collapse
:visible="visible" :visible="visible"
class="selection-summary gl-z-index-3!" class="selection-summary"
data-testid="selection-summary-collapse" data-testid="selection-summary-collapse"
> >
<div class="card" :class="{ 'with-error': Boolean(updateErrorText) }"> <div class="card" :class="{ 'with-error': Boolean(updateErrorText) }">
......
...@@ -15,6 +15,8 @@ $selection-summary-with-error-height: 118px; ...@@ -15,6 +15,8 @@ $selection-summary-with-error-height: 118px;
} }
.vulnerability-list { .vulnerability-list {
isolation: isolate;
@media (min-width: $breakpoint-sm) { @media (min-width: $breakpoint-sm) {
.checkbox { .checkbox {
@include gl-pl-4; @include gl-pl-4;
......
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