From 3db37e1d52e7253c02ccc1608196d067edf96bf0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 14 Apr 2021 02:12:46 +0900 Subject: [PATCH] Tweak UI --- src/client/components/note.vue | 11 ----------- src/client/pages/page.vue | 4 +++- src/client/style.scss | 8 ++++---- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/src/client/components/note.vue b/src/client/components/note.vue index e51085307a..0e153033ca 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -863,7 +863,6 @@ export default defineComponent({ .tkcbzcuz { position: relative; transition: box-shadow 0.1s ease; - overflow: hidden; overflow: clip; contain: content; @@ -1001,11 +1000,6 @@ export default defineComponent({ position: sticky; top: calc(22px + var(--stickyTop, 0px)); left: 0; - - /* iOSはoverflow: clipをサポートしていない影響でposition: stickyが動作しない */ - @supports (-webkit-touch-callout: none) { - top: 0; - } } > .main { @@ -1150,11 +1144,6 @@ export default defineComponent({ width: 50px; height: 50px; top: calc(14px + var(--stickyTop, 0px)); - - /* iOSはoverflow: clipをサポートしていない影響でposition: stickyが動作しない */ - @supports (-webkit-touch-callout: none) { - top: 0; - } } } } diff --git a/src/client/pages/page.vue b/src/client/pages/page.vue index bae72c0539..57bbeba6b2 100644 --- a/src/client/pages/page.vue +++ b/src/client/pages/page.vue @@ -1,5 +1,7 @@