From 79dc4bdaf8da2638a902dbdbeac8eaf3b0435158 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 4 Jul 2020 20:38:39 +0900 Subject: [PATCH] wip --- src/client/app.vue | 10 +++++----- src/client/components/notes.vue | 13 ++----------- src/client/init.ts | 7 ------- src/client/style.scss | 1 + 4 files changed, 8 insertions(+), 23 deletions(-) diff --git a/src/client/app.vue b/src/client/app.vue index 8c876dc66..ea685881e 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -571,9 +571,9 @@ export default Vue.extend({ $header-height: 60px; $nav-width: 250px; $nav-icon-only-width: 80px; - $main-width: 650px; + $main-width: 670px; $ui-font-size: 1em; - $nav-icon-only-threshold: 1300px; + $nav-icon-only-threshold: 1279px; $nav-hide-threshold: 650px; $side-hide-threshold: 1070px; @@ -920,9 +920,10 @@ export default Vue.extend({ > * { min-height: calc(100vh - #{$header-height}); box-sizing: border-box; + padding: var(--margin); - &:not(.full) { - padding: var(--margin) 0; + &.full { + padding: 0 var(--margin); } &.naked { @@ -965,7 +966,6 @@ export default Vue.extend({ > .widgets { box-sizing: border-box; - margin: 0 var(--margin); @media (max-width: $side-hide-threshold) { display: none; diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue index c83cbd1aa..e8461fcb8 100644 --- a/src/client/components/notes.vue +++ b/src/client/components/notes.vue @@ -1,5 +1,5 @@