diff --git a/assets/stylesheets/modules/ai-helper/mobile/ai-helper.scss b/assets/stylesheets/modules/ai-helper/mobile/ai-helper.scss index 1a45ee4d..f49bd434 100644 --- a/assets/stylesheets/modules/ai-helper/mobile/ai-helper.scss +++ b/assets/stylesheets/modules/ai-helper/mobile/ai-helper.scss @@ -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;