Hide chat scrollbar when not needed & Always optimize scrypt crate
This commit is contained in:
parent
dc9fde39be
commit
496c115fa9
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user