fix: fix overscroll color
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user