diff --git a/Cargo.toml b/Cargo.toml index 6ebaa1a..b624a3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,3 +43,6 @@ yaml-rust = "0.4" #only in debug mode html-minifier = "3.0" yaml-rust = "0.4" linked-hash-map = "0.5" + +[profile.dev.package.scrypt] +opt-level = 3 diff --git a/src/frontend/index.css b/src/frontend/index.css index 317fb0a..4631f39 100644 --- a/src/frontend/index.css +++ b/src/frontend/index.css @@ -255,7 +255,8 @@ button:hover::after { #left_panel ul li.is_verified p::after { content: url("/static/imgs/icons/verified/ACCENT_COLOR"); } -#left_panel ul li .not_seen_marker { +#left_panel ul li.not_seen::after { + content: ""; width: 12px; height: 12px; background-color: var(--accent); @@ -407,7 +408,7 @@ button:hover::after { margin-bottom: 0; } #msg_log { - overflow-y: scroll; + overflow-y: auto; white-space: pre-wrap; } #msg_log p { diff --git a/src/frontend/index.js b/src/frontend/index.js index 8bb5ff9..9398ac8 100644 --- a/src/frontend/index.js +++ b/src/frontend/index.js @@ -1002,9 +1002,7 @@ function generateSession(sessionId, session) { li.classList.add("is_verified"); } if (!session.seen) { - let marker = document.createElement("div"); - marker.classList.add("not_seen_marker"); - li.appendChild(marker); + li.classList.add("not_seen"); } if (sessionId == currentSessionId) { li.classList.add("current");