From 567c66567e85e4077365386e06e96c85c78e206a Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 10 Apr 2023 16:42:44 +0000 Subject: [PATCH] fix(client): :art: fix MkEmojiPicker safe-area-inset-bottom Fix https://github.com/misskey-dev/misskey/pull/10534 --- packages/frontend/src/components/MkEmojiPicker.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue index 0ae182ce32..9eaf16374b 100644 --- a/packages/frontend/src/components/MkEmojiPicker.vue +++ b/packages/frontend/src/components/MkEmojiPicker.vue @@ -439,7 +439,6 @@ defineExpose({ &.asDrawer { width: 100% !important; - padding: 12px 0 max(env(safe-area-inset-bottom, 0px), 12px) 0; > .emojis { ::v-deep(section) { @@ -498,6 +497,10 @@ defineExpose({ background: transparent; color: var(--fg); + &:not(:focus):not(.filled) { + margin-bottom: env(safe-area-inset-bottom, 0px); + } + &:not(.filled) { order: 1; z-index: 2;