css patch

This commit is contained in:
Xamora 2023-12-18 22:18:49 +01:00
parent 1961047703
commit 651fbbd67f
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
body { body {
margin: 20px; margin: 0.5em;
font-family: 'Quicksand', sans-serif; font-family: 'Quicksand', sans-serif;
font-size: 60px; font-size: 40px;
} }
a { a {

View File

@ -45,7 +45,7 @@
} }
#app #messages { #app #messages {
max-height: 50em; max-height: 40em;
overflow: scroll; overflow: scroll;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;

View File

@ -52,6 +52,7 @@ export default class extends AbstractView {
// chat // chat
if (logged && client.me.user_id != user.user_id) { if (logged && client.me.user_id != user.user_id) {
let add_chat = document.createElement("a"); let add_chat = document.createElement("a");
add_chat.href = "";
add_chat.id = "add_chat_off"; add_chat.id = "add_chat_off";
add_chat.onclick = async () => { add_chat.onclick = async () => {
if (client.channel != undefined) { if (client.channel != undefined) {