From 651fbbd67fc4d0bd43a261fe5bee2c92dd05d15a Mon Sep 17 00:00:00 2001 From: Xamora Date: Mon, 18 Dec 2023 22:18:49 +0100 Subject: [PATCH] css patch --- frontend/static/css/index.css | 4 ++-- frontend/static/css/search.css | 2 +- frontend/static/js/views/Search.js | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/static/css/index.css b/frontend/static/css/index.css index b76a0f6..7f286f0 100644 --- a/frontend/static/css/index.css +++ b/frontend/static/css/index.css @@ -1,7 +1,7 @@ body { - margin: 20px; + margin: 0.5em; font-family: 'Quicksand', sans-serif; - font-size: 60px; + font-size: 40px; } a { diff --git a/frontend/static/css/search.css b/frontend/static/css/search.css index 3e88b85..e9165c9 100644 --- a/frontend/static/css/search.css +++ b/frontend/static/css/search.css @@ -45,7 +45,7 @@ } #app #messages { - max-height: 50em; + max-height: 40em; overflow: scroll; overflow-y: scroll; overflow-x: hidden; diff --git a/frontend/static/js/views/Search.js b/frontend/static/js/views/Search.js index 2b3a011..f0bbe78 100644 --- a/frontend/static/js/views/Search.js +++ b/frontend/static/js/views/Search.js @@ -52,6 +52,7 @@ export default class extends AbstractView { // chat if (logged && client.me.user_id != user.user_id) { let add_chat = document.createElement("a"); + add_chat.href = ""; add_chat.id = "add_chat_off"; add_chat.onclick = async () => { if (client.channel != undefined) {