FIX: Mobile composer helper trigger should work on Android and iOS (#763)

This commit is contained in:
Keegan George 2024-08-21 16:19:25 -07:00 committed by GitHub
parent 10dae65740
commit da9e192949
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,8 @@
max-width: unset;
z-index: z("fullscreen");
top: calc(
var(--mobile-virtual-screen-height) - var(--composer-helper-menu-height)
var(--mobile-virtual-screen-height) - var(--composer-helper-menu-height) -
env(keyboard-inset-height)
);
right: 0;
padding-right: 1rem;
@ -63,6 +64,12 @@
}
}
.ios-safari-composer-hacks .ai-composer-helper-menu:not(.is-expanded) {
top: calc(
var(--mobile-virtual-screen-height) - var(--composer-helper-menu-height)
);
}
@keyframes slide-in {
0% {
opacity: 0;