mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-21 19:32:34 +00:00
Use scrollbar-gutter
This commit is contained in:
parent
cf701a13f1
commit
64772b0dec
@ -358,7 +358,7 @@ theme_color:
|
|||||||
body_scrollbar:
|
body_scrollbar:
|
||||||
# Place the scrollbar over the content.
|
# Place the scrollbar over the content.
|
||||||
overlay: false
|
overlay: false
|
||||||
# Present the scrollbar even if the content is not overflowing.
|
# Reserving space for the scrollbar gutter even if the content is not overflowing.
|
||||||
stable: false
|
stable: false
|
||||||
|
|
||||||
codeblock:
|
codeblock:
|
||||||
|
|||||||
@ -27,7 +27,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hexo-config('body_scrollbar.stable')) {
|
if (hexo-config('body_scrollbar.stable')) {
|
||||||
overflow-y: scroll;
|
scrollbar-gutter: stable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user