fix app modal overlay + revert flexContent removal

This commit is contained in:
Mo Mesgin 2025-02-13 15:10:33 -08:00
parent 8f9913c5ad
commit 4a7536bd8d
3 changed files with 10 additions and 4 deletions

View File

@ -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
); );

View File

@ -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);

View File

@ -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"
/> />