Skip to Content

Name: [FIX] web_responsive: pin the apps menu below the navbar's real bottom edge

State: Killed finished in 375m

PR State: merged

PR Author: Roy Le

PR Author Email:

PR: #694

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: efd239c4cbed77b204c191aa41a5e240a34e251f

Description:

                                            [FIX] web_responsive: pin the apps menu below the navbar's real bottom edge

The full-screen apps menu is a position: fixed overlay with a constant
top of $o-navbar-height and a height capped at 100vh minus that value.
Both assume the navbar is the topmost element of the page. On a
neutralized database core's web.neutralize_banner template renders a
24px banner above the navbar, so the menu covered the lower half of the
navbar (it looked cut in two) and its last 24px fell below the viewport.

Measure the navbar's own bottom edge at render time and set top inline
(re-rendered on resize; 0 when no navbar is mounted), and let the box
stretch to bottom: 0 instead of a computed height, so anything placed
above the navbar is handled the same way.
                                            

Branch: 18.0

Age:

Up-time: