FIX: AI Helper not visible on iPads (#805)

This commit fixes an issue where the composer AI helper was not visible on iPad in DiscourseHub. This was due to the z-index being different for `reply-control` when Discourse Hub inserts its `footer-nav`
This commit is contained in:
Keegan George 2024-09-17 16:43:15 -07:00 committed by GitHub
parent 4b21eb7974
commit 513510d6d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -606,6 +606,10 @@
z-index: z("mobile-composer"); z-index: z("mobile-composer");
} }
html.footer-nav-ipad .fk-d-menu[data-identifier="ai-composer-helper-menu"] {
z-index: z("ipad-header-nav") + 1;
}
.fk-d-toasts:has(.ai-proofread-error-toast) { .fk-d-toasts:has(.ai-proofread-error-toast) {
top: unset; top: unset;
bottom: calc(var(--composer-height) - 5%); bottom: calc(var(--composer-height) - 5%);