mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-20 19:02:33 +00:00
Fix scrolling for site overview (#243)
This commit is contained in:
parent
d4f97cde0d
commit
289bac4949
@ -32,6 +32,7 @@
|
|||||||
<!--/noindex-->
|
<!--/noindex-->
|
||||||
|
|
||||||
<div class="site-overview-wrap sidebar-panel">
|
<div class="site-overview-wrap sidebar-panel">
|
||||||
|
<div class="site-overview">
|
||||||
{{ partial('_partials/sidebar/site-overview.njk', {}, {cache: theme.cache.enable}) }}
|
{{ partial('_partials/sidebar/site-overview.njk', {}, {cache: theme.cache.enable}) }}
|
||||||
|
|
||||||
{{- next_inject('sidebar') }}
|
{{- next_inject('sidebar') }}
|
||||||
|
|||||||
@ -4,6 +4,10 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-overview {
|
||||||
|
max-height: var(--sidebar-wrapper-height);
|
||||||
|
}
|
||||||
|
|
||||||
.site-overview-item:not(:first-child) {
|
.site-overview-item:not(:first-child) {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user