framework/less/common
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
..
mixins Webpack (#1367) 2018-06-20 13:20:31 +09:30
Alert.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
AlertManager.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
App.less Header UI fixes (#2371) 2020-10-09 19:05:53 -04:00
Avatar.less Revert Chrome image rendering tweak 2018-07-20 12:03:49 +09:30
Badge.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
Button.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
Checkbox.less Improved UI of Switch with loading indicator (#2039) 2020-04-10 22:51:58 +02:00
common.less Style validation errors 2020-01-24 15:41:26 +01:00
Dropdown.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
Form.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
FormControl.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
LoadingIndicator.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
mixins.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
Modal.less Update Modal.less 2020-03-30 21:18:48 +02:00
Navigation.less Fix mobile notification bubble on colored header (#2109) 2020-04-10 12:50:36 +02:00
normalize.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
Placeholder.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
print.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
scaffolding.less Fix less build error. (#2252) 2020-08-15 20:21:06 -04:00
Search.less Align search icon on search bar (#1599) 2018-10-16 20:40:39 +02:00
Select.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
sideNav.less Prevent long words/content from stretching the discussion list width 2018-10-21 14:47:41 +10:30
Tooltip.less Webpack (#1367) 2018-06-20 13:20:31 +09:30
ValidationError.less Style validation errors 2020-01-24 15:41:26 +01:00
variables.less Style validation errors 2020-01-24 15:41:26 +01:00