summaryrefslogtreecommitdiff
path: root/packages/client/src/ui/deck.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-11-13 11:43:23 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-11-13 11:43:23 +0900
commit831be69cec5a39e21ad05cb01270c6bfe90712ca (patch)
tree9cb46093c1b85e64b9598304ecbfcf2aa265268f /packages/client/src/ui/deck.vue
parentupdate node to v18 (diff)
downloadmisskey-831be69cec5a39e21ad05cb01270c6bfe90712ca.tar.gz
misskey-831be69cec5a39e21ad05cb01270c6bfe90712ca.tar.bz2
misskey-831be69cec5a39e21ad05cb01270c6bfe90712ca.zip
refactor(client): use dvh
Diffstat (limited to 'packages/client/src/ui/deck.vue')
-rw-r--r--packages/client/src/ui/deck.vue6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/client/src/ui/deck.vue b/packages/client/src/ui/deck.vue
index 3c0c2a44b6..224ad7ee1a 100644
--- a/packages/client/src/ui/deck.vue
+++ b/packages/client/src/ui/deck.vue
@@ -255,8 +255,7 @@ async function deleteProfile() {
--deckDividerThickness: 5px;
display: flex;
- // ほんとは単に 100vh と書きたいところだが... https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
- height: calc(var(--vh, 1vh) * 100);
+ height: 100dvh;
box-sizing: border-box;
flex: 1;
@@ -424,8 +423,7 @@ async function deleteProfile() {
top: 0;
left: 0;
z-index: 1001;
- // ほんとは単に 100vh と書きたいところだが... https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
- height: calc(var(--vh, 1vh) * 100);
+ height: 100dvh;
width: 240px;
box-sizing: border-box;
contain: strict;