From 1171675ee3cae1a36922b6105efc67d603e6328a Mon Sep 17 00:00:00 2001 From: eraden Date: Sun, 17 Nov 2024 20:36:29 +0100 Subject: [PATCH] Fix mobile --- cooked/assets/styles.css | 8 ++++++++ cooked/templates/recipies/show.jinja | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/cooked/assets/styles.css b/cooked/assets/styles.css index 534a9e9..4e2bca3 100644 --- a/cooked/assets/styles.css +++ b/cooked/assets/styles.css @@ -2429,6 +2429,10 @@ details.collapse summary::-webkit-details-marker{ list-style-type: disc; } +.flex-row{ + flex-direction: row; +} + .flex-col{ flex-direction: column; } @@ -2477,6 +2481,10 @@ details.collapse summary::-webkit-details-marker{ gap: 2rem; } +.text-nowrap{ + text-wrap: nowrap; +} + .rounded-full{ border-radius: 9999px; } diff --git a/cooked/templates/recipies/show.jinja b/cooked/templates/recipies/show.jinja index bfb9180..d7863b7 100644 --- a/cooked/templates/recipies/show.jinja +++ b/cooked/templates/recipies/show.jinja @@ -1,7 +1,7 @@ {% extends "base.jinja" %} {% block content %} -
+
{% include "../top_bar.jinja" %}
@@ -67,9 +67,9 @@

Tags

-
+
{% for tag in tags %} - + {{ tag.name }} {% endfor %} @@ -80,9 +80,9 @@

Ingredients

-
+
{% for ingredient in ingredients %} - + {{ ingredient.name }} {% endfor %}