From 797096b551fa30eeab086bfeee861f7182c7796e Mon Sep 17 00:00:00 2001 From: MarekWo Date: Fri, 2 Jan 2026 06:56:10 +0100 Subject: [PATCH] fix: Improve viewport fix to avoid interfering with page initialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed viewport fix approach to be less invasive: - Removed document.body.style.height modification - Use document.documentElement.offsetHeight instead - Trigger resize event instead of modifying DOM - Increased delay from 100ms to 150ms for better stability This should prevent potential conflicts with channel loading and other page initialization code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- app/templates/base.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 1e1e413..253c31b 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -266,13 +266,14 @@