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"
|
html-minifier = "3.0"
|
||||||
yaml-rust = "0.4"
|
yaml-rust = "0.4"
|
||||||
linked-hash-map = "0.5"
|
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 {
|
#left_panel ul li.is_verified p::after {
|
||||||
content: url("/static/imgs/icons/verified/ACCENT_COLOR");
|
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;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
@ -407,7 +408,7 @@ button:hover::after {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
#msg_log {
|
#msg_log {
|
||||||
overflow-y: scroll;
|
overflow-y: auto;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
#msg_log p {
|
#msg_log p {
|
||||||
|
@ -1002,9 +1002,7 @@ function generateSession(sessionId, session) {
|
|||||||
li.classList.add("is_verified");
|
li.classList.add("is_verified");
|
||||||
}
|
}
|
||||||
if (!session.seen) {
|
if (!session.seen) {
|
||||||
let marker = document.createElement("div");
|
li.classList.add("not_seen");
|
||||||
marker.classList.add("not_seen_marker");
|
|
||||||
li.appendChild(marker);
|
|
||||||
}
|
}
|
||||||
if (sessionId == currentSessionId) {
|
if (sessionId == currentSessionId) {
|
||||||
li.classList.add("current");
|
li.classList.add("current");
|
||||||
|
Loading…
Reference in New Issue
Block a user