From 9414a944b7cc57552c54304fe1f3eaf9b72e0672 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 19 Jul 2021 23:31:41 +0900 Subject: [PATCH] Tweak design --- src/client/ui/default.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/ui/default.vue b/src/client/ui/default.vue index e2a227b55..c8a16cff0 100644 --- a/src/client/ui/default.vue +++ b/src/client/ui/default.vue @@ -230,7 +230,7 @@ export default defineComponent({ $widgets-hide-threshold: 1200px; $nav-icon-only-width: 78px; // TODO: どこかに集約したい - --panelShadow: none; + --panelShadow: 0 0 0 1px var(--divider); // ほんとは単に 100vh と書きたいところだが... https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ min-height: calc(var(--vh, 1vh) * 100); @@ -342,14 +342,14 @@ export default defineComponent({ --globalHeaderHeight: 60px; // TODO: 60pxと決め打ちしているのを直す > .main { - margin-top: 2px; + margin-top: 1px; border-radius: var(--radius); - box-shadow: 0 0 0 2px var(--divider); + box-shadow: 0 0 0 1px var(--divider); } > .widgets { --stickyTop: var(--globalHeaderHeight); - margin-top: 0px; + margin-top: 1px; } }