1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-08 00:29:54 +00:00

small fix

This commit is contained in:
Laura
2025-08-17 04:19:05 +02:00
parent efd373f4c8
commit 860d029f2e
2 changed files with 5 additions and 3 deletions

View File

@@ -2,6 +2,8 @@
font-size: 15px;
line-height: 23px;
color: #CAD3F5;
overflow: hidden;
word-wrap: break-word;
}
.markdown h1,

View File

@@ -33,8 +33,8 @@
jsonMode = false,
searchTool = false;
function scroll() {
if (!autoScrolling) {
function scroll(force = false) {
if (!autoScrolling && !force) {
return;
}
@@ -1045,7 +1045,7 @@
});
$bottom.addEventListener("click", () => {
scroll();
scroll(true);
});
$role.addEventListener("change", () => {