diff options
author | Yan Zhu <picturepan2@hotmail.com> | 2017-09-11 11:39:18 +0300 |
---|---|---|
committer | Yan Zhu <picturepan2@hotmail.com> | 2017-09-11 11:39:18 +0300 |
commit | 0956fd0528e2465720192b4240435f871d928520 (patch) | |
tree | e44e7016b44998756c68cfc297c2d62f57bdbf25 /docs | |
parent | ee51332b0d70db166af394fc9a7a2442a4dec8aa (diff) |
Fix off-screen menu bug
Diffstat (limited to 'docs')
-rw-r--r-- | docs/css/docs.css | 9 | ||||
-rw-r--r-- | docs/src/docs.scss | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/docs/css/docs.css b/docs/css/docs.css index 5a93dd9..1d8a83e 100644 --- a/docs/css/docs.css +++ b/docs/css/docs.css @@ -429,6 +429,15 @@ .s-sidebar:target + .docs-nav-clear { display: block; } + .s-sidebar .s-brand { + margin-top: -1.7rem; + padding: 0; + position: static; + } + .s-sidebar .s-nav { + margin-top: 2rem; + position: static; + } .s-sidebar .menu .menu-item > a { padding: .3rem .4rem; } diff --git a/docs/src/docs.scss b/docs/src/docs.scss index 2611c0d..5856ba3 100644 --- a/docs/src/docs.scss +++ b/docs/src/docs.scss @@ -426,6 +426,17 @@ } } + .s-brand { + margin-top: -1.7rem; + padding: 0; + position: static; + } + + .s-nav { + margin-top: 2rem; + position: static; + } + .menu .menu-item > a { padding: .3rem .4rem; } |