mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
The distance of compose-box from the top is hardcoded in the existing code as `50px`, which only considers the height of the `.header`, plus the padding-bottom of the header. This results in a bug where the top bar of compose-box gets hidden behind the header if navbar_alerts is also present in the view. This commit calculates the top distance of the compose-box dynamically, whenever the compose-box is opened and set the `top` property of the compose-box accordingly. Tested on my Ubuntu development environment. Fixes: #19249.
6.7 KiB
6.7 KiB