From 6ca7ca4e7eb62ce6d39cf1473e36d680c61cc693 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Sun, 8 Aug 2021 21:42:37 +0800 Subject: [PATCH] improve alignment and font size --- src/assets/app.scss | 9 +++++++++ src/pages/Dashboard.vue | 3 +-- src/pages/EditMonitor.vue | 16 ++++++---------- src/pages/Settings.vue | 6 +++--- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/assets/app.scss b/src/assets/app.scss index 6cb8f935c..6733a5d8a 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -5,6 +5,15 @@ font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol,noto color emoji; } +h1 { + font-size: 31px; + height: 38px; +} + +h2 { + font-size: 26px; +} + ::-webkit-scrollbar { width: 10px; } diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue index bbb60a265..bb673db85 100644 --- a/src/pages/Dashboard.vue +++ b/src/pages/Dashboard.vue @@ -3,7 +3,7 @@
- Add New Monitor + Add New Monitor
@@ -97,7 +97,6 @@ export default { } .list { - margin-top: 25px; height: auto; min-height: calc(100vh - 240px); diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 6e6601a76..b2dd16a30 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -1,12 +1,10 @@