From 97ac46c1fbb2704d4d827d8d5f5d9635c9ba7574 Mon Sep 17 00:00:00 2001 From: nicfreeman1209 Date: Wed, 10 Feb 2021 19:55:45 +0000 Subject: [PATCH] reference modal defaults to maximized others don't --- src/components/modals/Modal.vue | 2 +- src/components/modals/ReferenceModal.vue | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/modals/Modal.vue b/src/components/modals/Modal.vue index fe0fe1f..815f66c 100644 --- a/src/components/modals/Modal.vue +++ b/src/components/modals/Modal.vue @@ -85,7 +85,7 @@ export default { } .maximize-toggle { position: absolute; - right: 50px; + right: 55px; top: 20px; cursor: pointer; &:hover { diff --git a/src/components/modals/ReferenceModal.vue b/src/components/modals/ReferenceModal.vue index 18ee654..8519e46 100644 --- a/src/components/modals/ReferenceModal.vue +++ b/src/components/modals/ReferenceModal.vue @@ -56,6 +56,9 @@ export default { components: { Modal }, + mounted: function() { + this.$children[0].isMaximized = true; + }, computed: { rolesGrouped: function() { const rolesGrouped = {};