From 2d0fa7bf89430e12a24da23f8e4c2fb19df347ef Mon Sep 17 00:00:00 2001 From: Gregoo Date: Mon, 31 Mar 2025 16:04:41 +0200 Subject: [PATCH] Fix legibility of "Damaged" and "Missing" fields for tiny screen by reducing horizontal padding --- CHANGELOG.md | 4 ++++ templates/macro/form.html | 22 +++++++++++----------- templates/sets.html | 2 +- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 033e95f..ae173f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- Fix legibility of "Damaged" and "Missing" fields for tiny screen by reducing horizontal padding + ## 1.2.2: This release fixes a bug where orphaned parts in the `inventory` table are blocking the database upgrade. diff --git a/templates/macro/form.html b/templates/macro/form.html index 7f7952b..323019b 100644 --- a/templates/macro/form.html +++ b/templates/macro/form.html @@ -1,6 +1,6 @@ {% macro checkbox(name, id, prefix, url, checked, parent=none, delete=false) %} {% if g.login.is_authenticated() %} - {{ name }}
- {% if icon %} {{ name }}{% endif %} - {{ name }}{% endif %} + - {% if suffix %}{{ suffix }}{% endif %} + {% if suffix %}{{ suffix }}{% endif %} {% if g.login.is_authenticated() %} - - + + {% else %} - + {% endif %}
{% endif %} @@ -46,8 +46,8 @@ {% if g.login.is_authenticated() %}
- {% if icon %} {{ name }}{% endif %} - {{ metadata.fields.name }} {% endfor %} - - + +
{% endif %} {% endmacro %} diff --git a/templates/sets.html b/templates/sets.html index aa59867..aae5f01 100644 --- a/templates/sets.html +++ b/templates/sets.html @@ -10,7 +10,7 @@
Search - +