[frontend/components] Improve mobile emoji picker and menu positioning and padding
This commit is contained in:
parent
b9b19b44af
commit
ca8f28c1fd
2 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,8 @@ summary {
|
||||||
.emoji-picker {
|
.emoji-picker {
|
||||||
top: unset;
|
top: unset;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
/*Display emoji picker above keyboard (currently only on Chrome)*/
|
||||||
|
bottom: env(keyboard-inset-height, 0);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
|
|
|
@ -40,6 +40,6 @@
|
||||||
border-right: none;
|
border-right: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
z-index: +26;
|
z-index: +26;
|
||||||
padding-bottom: env(safe-area-inset-bottom);
|
padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue