From 778d10d22fa2a03e2f1fa62329e72ca0a0d7bb9a Mon Sep 17 00:00:00 2001 From: starnakin Date: Mon, 18 Dec 2023 21:41:00 +0100 Subject: [PATCH 1/2] fix: client.me 2 --- frontend/static/js/api/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/static/js/api/profile.js b/frontend/static/js/api/profile.js index dfa29e6..1ec7987 100644 --- a/frontend/static/js/api/profile.js +++ b/frontend/static/js/api/profile.js @@ -21,7 +21,7 @@ class Profile let response = await this.client._get(`/api/profiles/${user_id}`); let response_data = await response.json(); - this.user_id = response.user_id; + this.user_id = response_data.user_id; this.username = response_data.username; this.avatar_url = response_data.avatar_url; } From 74790882549b026f71761a82da903555c62d4aba Mon Sep 17 00:00:00 2001 From: kdx Date: Mon, 18 Dec 2023 22:27:02 +0100 Subject: [PATCH 2/2] fix css --- frontend/static/css/index.css | 6 ++++-- frontend/static/css/search.css | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/frontend/static/css/index.css b/frontend/static/css/index.css index b76a0f6..6bcbea0 100644 --- a/frontend/static/css/index.css +++ b/frontend/static/css/index.css @@ -1,7 +1,9 @@ +@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300&display=swap'); + body { margin: 20px; - font-family: 'Quicksand', sans-serif; - font-size: 60px; + font-family: 'Roboto Slab', serif; + font-size: 12px; } a { diff --git a/frontend/static/css/search.css b/frontend/static/css/search.css index 3e88b85..d6e7f89 100644 --- a/frontend/static/css/search.css +++ b/frontend/static/css/search.css @@ -6,7 +6,7 @@ #app ul { - font-size: 0.75em; + font-size: 24em; margin: 0.25em 0 0 0; padding: 0 0 0 0; list-style-type: none; @@ -37,7 +37,7 @@ } #app #members { - font-size: 1em; + font-size: 32px; } #app #add_chat_off { @@ -49,14 +49,14 @@ overflow: scroll; overflow-y: scroll; overflow-x: hidden; - font-size: 0.6em; + font-size: 18px; } #app #input_user{ color: green; width: 8.5em; height: 1.1em; - font-size: 0.75em; + font-size: 18px; border: none; outline: none; border-bottom: 0.15em solid green; @@ -72,7 +72,7 @@ border-bottom: 0.2em solid green; caret-color: green; color: green; - font-size: 0.65em; + font-size: 16px; } #app #you {