mirror of https://github.com/twbs/bootstrap.git
Docs: add scroll-margin-top for keyboard navigation
This commit is contained in:
parent
30e8d139fe
commit
d0fece9320
|
|
@ -0,0 +1,5 @@
|
||||||
|
// When navigating with the keyboard, prevent focus from landing behind the sticky header
|
||||||
|
|
||||||
|
main *:focus {
|
||||||
|
scroll-margin-top: 100px;
|
||||||
|
}
|
||||||
|
|
@ -52,6 +52,7 @@ $enable-cssgrid: true; // stylelint-disable-line scss/dollar-variable-default
|
||||||
@import "colors";
|
@import "colors";
|
||||||
@import "clipboard-js";
|
@import "clipboard-js";
|
||||||
@import "placeholder-img";
|
@import "placeholder-img";
|
||||||
|
@import "scrolling";
|
||||||
|
|
||||||
// Load docs dependencies
|
// Load docs dependencies
|
||||||
@import "syntax";
|
@import "syntax";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue