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; - }