From 1cd0b54656a969bcb87cbdc07687866ca43e650b Mon Sep 17 00:00:00 2001 From: retoor <retoor@molodetz.nl> Date: Thu, 17 Apr 2025 00:05:25 +0200 Subject: [PATCH] Update. --- src/snek/static/base.css | 11 +++++++++++ src/snek/static/style.css | 4 +++- src/snek/templates/user.html | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/snek/static/base.css b/src/snek/static/base.css index ec7e182..27153ee 100644 --- a/src/snek/static/base.css +++ b/src/snek/static/base.css @@ -373,13 +373,24 @@ a { left: 0; text-overflow: ellipsis; width:100%; + display: flex; + flex-direction: column; .logo { + display:block; + flex: 1; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; h2 { font-size: 14px; } + text-align: center; + } + nav { + text-align: right; + flex: 1; + display: block; + width: 100%; } } diff --git a/src/snek/static/style.css b/src/snek/static/style.css index af04db4..bc313b1 100644 --- a/src/snek/static/style.css +++ b/src/snek/static/style.css @@ -61,4 +61,6 @@ div { body { justify-content: flex-start; - } + +} +} diff --git a/src/snek/templates/user.html b/src/snek/templates/user.html index 579d47a..6883981 100644 --- a/src/snek/templates/user.html +++ b/src/snek/templates/user.html @@ -26,7 +26,7 @@ {% endblock %} {% block main %} -<section class="chat-area"> +<section class="chat-area" style="padding:10px"> {% autoescape false %} {% markdown %} {{ profile }}