From 9a64403a8ff444272ad87f0ad2cc46f51a0a0f51 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 14 Sep 2022 12:46:40 +0200 Subject: [PATCH] Fix NcEmptyContent used inside NcModal Signed-off-by: Joas Schilling --- src/components/NcEmptyContent/NcEmptyContent.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/NcEmptyContent/NcEmptyContent.vue b/src/components/NcEmptyContent/NcEmptyContent.vue index 325ae8567f..90511dd9e4 100644 --- a/src/components/NcEmptyContent/NcEmptyContent.vue +++ b/src/components/NcEmptyContent/NcEmptyContent.vue @@ -127,6 +127,11 @@ export default { flex-direction: column; margin-top: 20vh; + .modal-wrapper & { + margin-top: 5vh; + margin-bottom: 5vh; + } + &__icon { display: flex; align-items: center; @@ -152,6 +157,11 @@ export default { &__action { margin-top: 8px; + + .modal-wrapper & { + margin-top: 20px; + display: flex; + } } }