From 1390dbef3966615a62d62b037e493a2fc48423f4 Mon Sep 17 00:00:00 2001 From: Pierre Romera Date: Thu, 25 Jul 2024 12:54:46 +0000 Subject: [PATCH] style: narrowerd popover gap --- .../DocumentDownloadPopover.vue | 15 ++++++++++++--- .../DocumentDownloadPopoverSection.vue | 2 +- src/utils/settings.scss | 4 ++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/components/Document/DocumentDownloadPopover/DocumentDownloadPopover.vue b/src/components/Document/DocumentDownloadPopover/DocumentDownloadPopover.vue index d07c31b995..392fd03074 100644 --- a/src/components/Document/DocumentDownloadPopover/DocumentDownloadPopover.vue +++ b/src/components/Document/DocumentDownloadPopover/DocumentDownloadPopover.vue @@ -155,7 +155,7 @@ const maxRootContentLength = computed(() => { variant="outline-primary" class="document-download-popover__body__button" /> -
+
{ - + {{ executionWarning }} @@ -188,6 +188,10 @@ const maxRootContentLength = computed(() => { flex-direction: column; gap: $spacer-sm; + .bs-popover-top & { + flex-direction: column-reverse; + } + &__button { white-space: nowrap; align-self: flex-start; @@ -197,7 +201,12 @@ const maxRootContentLength = computed(() => { margin-top: $spacer; display: flex; flex-direction: column; - gap: $spacer-xl; + gap: $spacer; + + .bs-popover-top & { + margin-top: 0; + margin-bottom: $spacer; + } } } } diff --git a/src/components/Document/DocumentDownloadPopover/DocumentDownloadPopoverSection.vue b/src/components/Document/DocumentDownloadPopover/DocumentDownloadPopoverSection.vue index ec90ebc820..7650d69355 100644 --- a/src/components/Document/DocumentDownloadPopover/DocumentDownloadPopoverSection.vue +++ b/src/components/Document/DocumentDownloadPopover/DocumentDownloadPopoverSection.vue @@ -19,7 +19,7 @@ const hasValue = computed(() => {