mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-25 14:07:50 +02:00
refactor(v2): reduce vertical space in doc content container (#4877)
* refactor(v2): reduce vertical space in doc content container * Avoid to utility class * Fixes
This commit is contained in:
parent
6fe7c0cd6f
commit
a024d23fda
2 changed files with 8 additions and 2 deletions
|
@ -19,6 +19,10 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.docItemWrapper {
|
||||
padding-top: 0.5rem !important;
|
||||
}
|
||||
|
||||
@media (min-width: 997px) {
|
||||
.docMainContainer {
|
||||
flex-grow: 1;
|
||||
|
@ -72,7 +76,9 @@
|
|||
}
|
||||
|
||||
.docItemWrapperEnhanced {
|
||||
max-width: calc(var(--ifm-container-width) + var(--doc-sidebar-width)) !important;
|
||||
max-width: calc(
|
||||
var(--ifm-container-width) + var(--doc-sidebar-width)
|
||||
) !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
max-height: calc(100vh - (var(--ifm-navbar-height) + 2rem));
|
||||
overflow-y: auto;
|
||||
position: sticky;
|
||||
top: calc(var(--ifm-navbar-height) + 2rem);
|
||||
top: calc(var(--ifm-navbar-height) + 1rem);
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 996px) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue