From 5b32e33cf144ea2077ef08fba8008e0d6df022b7 Mon Sep 17 00:00:00 2001 From: Innei Date: Sun, 17 Nov 2024 21:56:17 +0800 Subject: [PATCH] fix: disable overscroll-behavior Signed-off-by: Innei --- apps/renderer/src/styles/base.css | 2 ++ packages/components/assets/tailwind.css | 1 + 2 files changed, 3 insertions(+) diff --git a/apps/renderer/src/styles/base.css b/apps/renderer/src/styles/base.css index fdca77fb5..1112a0975 100644 --- a/apps/renderer/src/styles/base.css +++ b/apps/renderer/src/styles/base.css @@ -1,6 +1,8 @@ html, #shadow-html { --fo-font-family: "SN Pro", system-ui, sans-serif; + + overscroll-behavior: none; } body, diff --git a/packages/components/assets/tailwind.css b/packages/components/assets/tailwind.css index 3140894f2..7947a3307 100644 --- a/packages/components/assets/tailwind.css +++ b/packages/components/assets/tailwind.css @@ -48,6 +48,7 @@ * { @apply border-border; } + body { @apply text-theme-foreground; }