mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix headers staying under the menu when clicked-to-scroll.
Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)
This commit is contained in:
parent
24c4c3e0e9
commit
882862b095
1 changed files with 10 additions and 0 deletions
10
docs/theme/mkdocs/css/base.css
vendored
10
docs/theme/mkdocs/css/base.css
vendored
|
@ -37,6 +37,9 @@ h6,
|
|||
}
|
||||
#content h2 {
|
||||
padding: 0.5em 0em 0.3em 0em;
|
||||
/* Desktop click-to-scroll margin/padding fixes */
|
||||
padding-top: 2em !important;
|
||||
margin-top: -2em !important;
|
||||
}
|
||||
#content h3 {
|
||||
padding: 0.7em 0em 0.3em 0em;
|
||||
|
@ -587,6 +590,13 @@ ol.breadcrumb > li:last-child > a {
|
|||
display: none;
|
||||
}
|
||||
|
||||
/* Mobile click-to-scroll margin/padding fixes */
|
||||
#content h2 {
|
||||
padding: 0.5em 0em 0.3em 0em;
|
||||
padding-top: 13.5em !important;
|
||||
margin-top: -13.5em !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Container responsiveness fixes to maximise realestate expenditure */
|
||||
|
|
Loading…
Reference in a new issue