mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
1209b388e9
When the sticky header is visible, it has a global impact on the scrolling UX. For example, it can undesirably overlap elements when the user clicks on a jump link and when the user tabs through elements in reverse order. Therefore, we need to add scroll padding to the root element when the sticky header is enabled (when the feature flag is on and at higher resolutions) Known limitations: * Scroll padding is supported by all the latest modern browsers except for Safari [1]. This was considered an acceptable tradeoff with the caveat that this decision may be revisited in the future as we learn more about user interaction with the sticky header. [1] https://caniuse.com/mdn-css_properties_scroll-padding-top Bug: T290518 Change-Id: Ie5eb01d7eafd18ce740be620dfb5c8849386af6e |
||
---|---|---|
.. | ||
components | ||
images | ||
layouts | ||
skin.less |