framework/views
Alexander Skvortsov 1d2f0ca407
Header UI fixes (#2371)
* Revert "Fix header contents moving when opening modal (#2131)"
* Fix header contents moving when modal opened/closed.

Conditionally apply the navbar-fixed-top class only when needed, so that we can take advantage of it without always having the navbar in position:fixed, as was done in the previous solution. That resulted in a clash with custom headers.

* Show header on refresh of scrolled page

Due to some magic in Mithril 0.1's context:retain flag, some DOM elements were cached across page reloads. Since that has been eliminated, if we refresh the page and we are scrolled down, the "affix" class which makes the header fixed (and as a result, visible) isn't applied until the first scroll. We fix this by running ScrollListener.update() immediately to set initial navbar state.
2020-10-09 19:05:53 -04:00
..
error Replace $app->url() with url-generated link to index (#2302) 2020-09-24 11:30:57 -04:00
frontend Header UI fixes (#2371) 2020-10-09 19:05:53 -04:00
install Apply fixes from StyleCI 2020-01-05 21:28:46 +00:00
layouts Add a "return home" link to 404 errors 2017-11-29 13:23:25 +10:30
log-out.blade.php Generate URL in the controller instead of the view 2017-11-29 22:20:06 +10:30
reset-password.blade.php Fix class name 2018-01-01 10:34:19 +10:30