Chat window is now movable

This commit is contained in:
erik 2025-05-18 11:14:43 +00:00
parent 0313c2a2ae
commit d396942deb
2 changed files with 83 additions and 2 deletions

View file

@ -253,6 +253,7 @@ body {
background: var(--accent);
padding: 4px;
color: #111;
cursor: move; /* indicates the header is draggable */
}
.chat-close-btn {
@ -293,6 +294,11 @@ body {
color: #fff;
outline: none;
}
/* Prevent text selection while dragging chat windows */
body.noselect, body.noselect * {
user-select: none !important;
}
.stat.onlinetime::before { content: "🕑 "}
.stat.deaths::before { content: "💀 "}