Skip to content

nmc/5963-hide-footer-in-text-editor#473

Merged
memurats merged 4 commits into
stable32from
nmc/5963-hide-footer-in-text-editor
May 11, 2026
Merged

nmc/5963-hide-footer-in-text-editor#473
memurats merged 4 commits into
stable32from
nmc/5963-hide-footer-in-text-editor

Conversation

@suet-kei-chan
Copy link
Copy Markdown

The footer was already hidden in the app but appears to still be visible on mobile web view. Adding explicit CSS to hide the footer and reset its height variable to 0 when data-handler="text" is active, to test and confirm the fix.

The footer was already hidden in the app but appears to still be visible
on mobile web view. Adding explicit CSS to hide the footer and reset its
height variable to 0 when data-handler="text" is active, to test and
confirm the fix.
@suet-kei-chan suet-kei-chan changed the title fix: hide viewer footer when text/markdown file is open nmc/5963-hide-footer-in-text-editor May 8, 2026
@suet-kei-chan suet-kei-chan self-assigned this May 8, 2026
@suet-kei-chan suet-kei-chan requested review from memurats and psawalka May 8, 2026 07:43
@memurats
Copy link
Copy Markdown
Contributor

memurats commented May 8, 2026

The problematic footer is not inside the "#viewer" container. the footer in question is the main footer "#telekom-minimal-footer".

The #telekom-minimal-footer is a fixed element in <body>, separate from
the #viewer container. The previous fix incorrectly targeted .viewer__footer
inside #viewer which had no effect on the visible footer.

The correct fix uses :has() to detect when the viewer is actively open
(data-handler attribute is set only when a file is open) and hides the
#telekom-minimal-footer for all file types, preventing it from overlapping
the viewer on mobile web.
@memurats memurats merged commit f3df6aa into stable32 May 11, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants