diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index d1e8575..fa6e789 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -131,7 +131,7 @@ body { height: 100%; background: #0003; border-radius: .5em; - overflow-y: auto; + overflow-y: hidden; } #inner::selection { @@ -144,6 +144,19 @@ body { height: calc(100% - 1.5em); padding: 0 1em; scroll-behavior: smooth; + overflow: auto; + scrollbar-color: var(--cyan) var(--blue); + scrollbar-width: thin; +} + +#inner>textarea::-webkit-scrollbar { + width: 3px; + height: auto; + background-color: var(--blue); +} + +#inner>textarea::-webkit-scrollbar-thumb { + background-color: var(--cyan); } #inner>footer {