From beb7b741c1c6352a1930318489e15bb00eccc7a6 Mon Sep 17 00:00:00 2001 From: WlodekM Date: Sat, 30 Nov 2024 20:38:50 +0200 Subject: add pfps, improve the looks of the client a bit --- styles.less | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) (limited to 'styles.less') diff --git a/styles.less b/styles.less index 98bf87f..d67b084 100644 --- a/styles.less +++ b/styles.less @@ -9,6 +9,7 @@ body { background: white; display: flex; justify-content: space-between; + border-bottom: gray inset 2px; } .main { flex-grow: 1; @@ -45,15 +46,33 @@ body { display: flex; } -.reply { - color: #000000aa -} - -.attachment { - max-height: 25vw; - max-width: 25vw; - width: auto; - height: auto; +.message { + .message-container { + display: flex; + img { + height: 5em; + aspect-ratio: 1/1; + border: gray inset 2px; + } + .message-content-container { + flex-grow: 1; + .reply { + color: #000000aa + } + .message-header { + width: 100%; + } + p, h1, h2, h3, h4, h5, h6 { + margin: 0; + } + .attachment { + max-height: 25vw; + max-width: 25vw; + width: auto; + height: auto; + } + } + } } #messageInput { @@ -64,12 +83,6 @@ body { display: none; } -.message { - p, h1, h2, h3, h4, h5, h6 { - margin: 0; - } -} - .message-header { display: flex; justify-content: space-between; -- cgit 1.4.1-2-gfad0