From ff8f0c781e19e7dcfc1d37c85ec07689ddd85e3f Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Tue, 3 Feb 2026 10:54:40 +0000 Subject: [PATCH] fix(web): better alignment on mobile for table views --- templates/partials/bag_list.html | 12 +++---- templates/partials/brew_list.html | 16 ++++----- templates/partials/gear_list.html | 12 +++---- templates/partials/roast_list.html | 16 ++++----- templates/partials/roaster_list.html | 16 ++++----- templates/styles.css | 53 ++++++++++++++++++++++++++++ 6 files changed, 89 insertions(+), 36 deletions(-) diff --git a/templates/partials/bag_list.html b/templates/partials/bag_list.html index 3103cf5..e55a3b4 100644 --- a/templates/partials/bag_list.html +++ b/templates/partials/bag_list.html @@ -97,7 +97,7 @@ {% call table::pagination_header(bags, navigator, "#bag-list") %}
- +
{% call table::sortable_header("Roaster", "roaster", navigator, "#bag-list") %} {% @@ -110,13 +110,13 @@ {% for bag in bags.items %} - - - - - + + + + {% endfor %} diff --git a/templates/partials/brew_list.html b/templates/partials/brew_list.html index ddc2fff..83f30d3 100644 --- a/templates/partials/brew_list.html +++ b/templates/partials/brew_list.html @@ -5,7 +5,7 @@ {% call table::pagination_header(brews, navigator, "#brew-list") %}
-
+ {{ bag.roaster_name }} {{ bag.roast_name }}{{ bag.amount }}g{{ bag.created_at }}{{ bag.finished_at }}{{ bag.roast_name }}{{ bag.amount }}g{{ bag.created_at }}{{ bag.finished_at }}
+
@@ -22,7 +22,7 @@ {% for brew in brews.items %} - - - - - + - + {% if is_authenticated %} -
Coffee
+ +
{{ brew.grind_setting }}
{{ brew.grinder_name }}
+
{{ brew.coffee_weight }} / {{ brew.water_volume }}
{{ brew.ratio }}
{{ brew.water_temp }} + {{ brew.water_temp }}
{{ brew.brewer_name }}
{% if let Some(fp_name) = brew.filter_paper_name %}
{{ fp_name }}
{% endif %}
{{ brew.created_at }}{{ brew.created_at }} +
diff --git a/templates/partials/gear_list.html b/templates/partials/gear_list.html index 311b181..ec740a7 100644 --- a/templates/partials/gear_list.html +++ b/templates/partials/gear_list.html @@ -13,7 +13,7 @@ {% call table::pagination_header(gear, navigator, "#gear-list") %}
- +
{% call table::sortable_header("Category", "category", navigator, "#gear-list") %} @@ -28,22 +28,22 @@ {% for item in gear.items %} - - - - {% if is_authenticated %} -
+ {{ item.category_label }} + {{ item.make }} + {{ item.model }} + {{ item.created_at }} +