diff options
| author | user@node5.net <user@node5.net> | 2025-12-08 23:25:04 +0100 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2025-12-08 23:25:04 +0100 |
| commit | 040de793feb1c49a989ebb6b1420c4294291b1b5 (patch) | |
| tree | cf7c9f28d19d306c90dc2b3da09fce3af04b5b56 /web_interface | |
| parent | 857829cf0b9188d96f84711c6940159e51858ff7 (diff) | |
Drinks - Author style less scuffed inline
Diffstat (limited to 'web_interface')
| -rw-r--r-- | web_interface/drinks/templates/drinks_overview.html | 6 | ||||
| -rw-r--r-- | web_interface/static/style/main.css | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/web_interface/drinks/templates/drinks_overview.html b/web_interface/drinks/templates/drinks_overview.html index 590654c..bc83fdb 100644 --- a/web_interface/drinks/templates/drinks_overview.html +++ b/web_interface/drinks/templates/drinks_overview.html @@ -55,10 +55,8 @@ {% endif %} <div class="s6"> <div class="padding"> - <h4> - {{ drink.name }} - {% if drink.author %}<button class="circle drink-author" style="background-color: hsl({{ drink.author.color }}deg 80% 40%);">{{ drink.author }}</button>{% endif%} - </h4> + <h4 class="drink-name">{{ drink.name }}</h4> + {% if drink.author %}<button class="circle drink-author" style="background-color: hsl({{ drink.author.color }}deg 80% 40%);">{{ drink.author }}</button>{% endif%} <p>{{ drink.description }}</p> {% if drink.ingredient_set.all %} diff --git a/web_interface/static/style/main.css b/web_interface/static/style/main.css index e3fef02..0112e1a 100644 --- a/web_interface/static/style/main.css +++ b/web_interface/static/style/main.css @@ -2,6 +2,6 @@ width: 85%; /* Fill card width */ } -.drink-author { - float: right; +.drink-name { + display: inline; } |
