From fe2547473f046b8423e2fc456ec2e31bfc99f6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20K=C3=B6hring?= Date: Tue, 12 Dec 2023 11:22:09 +0100 Subject: [PATCH] fix: chrome styling, feat: scrollbar style --- .vitepress/theme/style.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 {