Skip to content

Commit

Permalink
fix(client): 🎨 fix MkEmojiPicker safe-area-inset-bottom
Browse files Browse the repository at this point in the history
Fix #10534
  • Loading branch information
tamaina committed Apr 10, 2023
1 parent da64273 commit 567c665
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/frontend/src/components/MkEmojiPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 567c665

Please sign in to comment.