Merge pull request 'fix: fix overscroll color' (#15) from mchernigin/duckquill:fix-overscroll into main

Reviewed-on: https://codeberg.org/daudix/duckquill/pulls/15
Reviewed-by: David Lapshin <daudix@noreply.codeberg.org>
This commit is contained in:
David Lapshin
2024-03-26 15:21:30 +00:00

View File

@ -10,6 +10,7 @@ html {
// scrollbar-color: var(--primary-color) transparent; // scrollbar-color: var(--primary-color) transparent;
accent-color: var(--primary-color); accent-color: var(--primary-color);
overflow-wrap: break-word; overflow-wrap: break-word;
overflow: hidden; // Disable scroll of html, scroll body instead
} }
// Smaller font size on mobile // Smaller font size on mobile
@ -26,6 +27,8 @@ body {
} }
body { body {
overflow: scroll; // Scroll body instead of html
height: 100vh;
font-family: var(--font-system); font-family: var(--font-system);
line-height: 1.6; line-height: 1.6;
color: var(--fg-color); color: var(--fg-color);