mirror of https://github.com/rancher/dashboard.git
fix app modal overlay + revert flexContent removal
This commit is contained in:
parent
8f9913c5ad
commit
4a7536bd8d
|
|
@ -39,14 +39,14 @@ $z-indexes: (
|
||||||
|
|
||||||
mainHeader: 14,
|
mainHeader: 14,
|
||||||
|
|
||||||
modalOverlay: 20,
|
|
||||||
modalContent: 21,
|
|
||||||
|
|
||||||
tooltip: 30,
|
tooltip: 30,
|
||||||
|
|
||||||
dropdownOverlay: 40,
|
dropdownOverlay: 40,
|
||||||
dropdownContent: 41,
|
dropdownContent: 41,
|
||||||
|
|
||||||
|
modalOverlay: 42,
|
||||||
|
modalContent: 43,
|
||||||
|
|
||||||
loadingMain: 51
|
loadingMain: 51
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -208,7 +208,7 @@ export default defineComponent({
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
z-index: 20;
|
z-index: z-index('modalOverlay');
|
||||||
|
|
||||||
.modal-container {
|
.modal-container {
|
||||||
background-color: var(--modal-bg);
|
background-color: var(--modal-bg);
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,11 @@ export default {
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
flexContent: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inherited global identifier prefix for tests
|
* Inherited global identifier prefix for tests
|
||||||
* Define a term based on the parent component to avoid conflicts on multiple components
|
* Define a term based on the parent component to avoid conflicts on multiple components
|
||||||
|
|
@ -484,6 +489,7 @@ export default {
|
||||||
:initial-value="initialModel"
|
:initial-value="initialModel"
|
||||||
:live-value="liveModel"
|
:live-value="liveModel"
|
||||||
:real-mode="realMode"
|
:real-mode="realMode"
|
||||||
|
:class="{'flex-content': flexContent}"
|
||||||
@update:value="$emit('input', $event)"
|
@update:value="$emit('input', $event)"
|
||||||
@set-subtype="setSubtype"
|
@set-subtype="setSubtype"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue