From 0fa22b85980ba4262db127f5629c2d1c734bb08b Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 19 Mar 2023 02:08:08 -0700 Subject: [PATCH] fix cli more --- packages/backend/src/server/web/cli.css | 6 +++--- packages/backend/src/server/web/cli.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/backend/src/server/web/cli.css b/packages/backend/src/server/web/cli.css index 1a7b78a661..20f4b4910d 100644 --- a/packages/backend/src/server/web/cli.css +++ b/packages/backend/src/server/web/cli.css @@ -14,6 +14,7 @@ main { } #tl > div > header { font-weight: 700; + display: inline-flex; } img { @@ -26,14 +27,13 @@ img { text-align: center; } -* { - font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif; -} #calckey_app { display: none !important; } + body, html { + font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif; background-color: #191724; color: #e0def4; justify-content: center; diff --git a/packages/backend/src/server/web/cli.js b/packages/backend/src/server/web/cli.js index bc2b7977c2..e93622ea26 100644 --- a/packages/backend/src/server/web/cli.js +++ b/packages/backend/src/server/web/cli.js @@ -49,7 +49,7 @@ window.onload = async () => { const name = document.createElement("p"); const avatar = document.createElement("img") name.textContent = `${note.user.name} @${note.user.username}`; - avatar.src = note.user.avatar; + avatar.src = note.user.avatarUrl; const text = document.createElement("div"); text.textContent = `${note.text}`; el.appendChild(header);