mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #5233 from ostezer/docs-fix-scroll-header-margin
Fix headers staying under the menu when clicked-to-scroll. Upstream-commit: f85d03327d5180611d399ce5c8f2d545c11473aa Component: engine
This commit is contained in:
10
components/engine/docs/theme/mkdocs/css/base.css
vendored
10
components/engine/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 */
|
||||
|
||||
Reference in New Issue
Block a user