From b9dbc19a5154afab8e5413267732f794f07f46e5 Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 2 Feb 2023 12:09:19 +0800 Subject: [PATCH] feat: add style --- src/styles/lib.scss | 4 ++++ src/views/dashboard/components/WidgetLink.vue | 10 +++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/styles/lib.scss b/src/styles/lib.scss index 8f82631b..fd7ebbf6 100644 --- a/src/styles/lib.scss +++ b/src/styles/lib.scss @@ -107,6 +107,10 @@ margin-top: 10px; } +.mt-20 { + margin-top: 20px; +} + .mb-5 { margin-bottom: 5px; } diff --git a/src/views/dashboard/components/WidgetLink.vue b/src/views/dashboard/components/WidgetLink.vue index 35684e83..4ce17de5 100644 --- a/src/views/dashboard/components/WidgetLink.vue +++ b/src/views/dashboard/components/WidgetLink.vue @@ -18,7 +18,7 @@ limitations under the License. --> -
+
@input="changeTimeRange" />
- {{ t("generateLink") }} + {{ t("generateLink") }}
@@ -43,7 +43,7 @@ limitations under the License. --> const appStore = useAppStoreWithOut(); const dashboardStore = useDashboardStore(); const selectorStore = useSelectorStore(); - const hasDuration = ref(false); + const hasDuration = ref(true); const widgetLink = ref(""); const dates = ref([]); const host = window.location.host; @@ -93,8 +93,4 @@ limitations under the License. --> height: 300px; font-size: 12px; } - - .time-range { - margin-bottom: 20px; - }