From 2f6187a26ac20e51a34274d3ae7bcb2bbb8de9cc Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 27 Dec 2020 10:42:38 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A2=E3=83=90=E3=82=A4=E3=83=AB=E3=81=A7?= =?UTF-8?q?=E6=8A=95=E7=A8=BF=E3=83=9C=E3=82=BF=E3=83=B3=E5=BE=A9=E6=B4=BB?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=81=AA=E3=81=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/sidebar.vue | 8 +++++++- src/client/ui/deck.vue | 8 ++++---- src/client/ui/default.vue | 11 +++++++---- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/client/components/sidebar.vue b/src/client/components/sidebar.vue index 0fcdc0f2a..fff11fadd 100644 --- a/src/client/components/sidebar.vue +++ b/src/client/components/sidebar.vue @@ -35,6 +35,9 @@ {{ $ts.settings }} + @@ -117,6 +120,10 @@ export default defineComponent({ this.showing = true; }, + post() { + os.post(); + }, + search() { if (this.searching) return; @@ -352,7 +359,6 @@ export default defineComponent({ z-index: 1001; > div { - > .index, > .notifications { display: none; } diff --git a/src/client/ui/deck.vue b/src/client/ui/deck.vue index a31fcebca..0cbfd7a48 100644 --- a/src/client/ui/deck.vue +++ b/src/client/ui/deck.vue @@ -204,6 +204,10 @@ export default defineComponent({ border-radius: 100%; box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12); font-size: 22px; + + @media (min-width: ($nav-hide-threshold + 1px)) { + display: none; + } } > .post { @@ -215,10 +219,6 @@ export default defineComponent({ background: var(--panel); color: var(--fg); - @media (min-width: ($nav-hide-threshold + 1px)) { - display: none; - } - &:hover { background: var(--X2); } diff --git a/src/client/ui/default.vue b/src/client/ui/default.vue index 46d02954b..066b9dd35 100644 --- a/src/client/ui/default.vue +++ b/src/client/ui/default.vue @@ -29,10 +29,9 @@
- - +
@@ -55,7 +54,7 @@