poprawka dla malych ekranow

This commit is contained in:
Mateusz Gruszczyński
2026-01-13 10:24:16 +01:00
parent 721387c994
commit 218191a718

View File

@@ -72,7 +72,17 @@
<li class="list-group-item bg-dark text-white">
<div class="d-flex justify-content-between align-items-center flex-wrap w-100">
<span class="fw-bold">
{{ l.title }} (Autor: Ty)
<!-- Desktop/tablet: zwykły tekst -->
<span class="d-none d-sm-inline">
{{ l.title }} (Autor: Ty)
</span>
<!-- Mobile: klikalny tytuł -->
<a class="d-inline d-sm-none text-white text-decoration-none"
href="{{ url_for('view_list', list_id=l.id) }}">
{{ l.title }}
</a>
{% for cat in l.category_badges %}
<span class="badge rounded-pill text-dark ms-1"
style="background-color: {{ cat.color }}; font-size: 0.56rem; opacity: 0.85;">
@@ -169,7 +179,17 @@
<li class="list-group-item bg-dark text-white">
<div class="d-flex justify-content-between align-items-center flex-wrap w-100">
<span class="fw-bold">
{{ l.title }} (Autor: {{ l.owner.username if l.owner else '—' }})
<!-- Desktop/tablet: zwykły tekst -->
<span class="d-none d-sm-inline">
{{ l.title }} (Autor: {{ l.owner.username if l.owner else '—' }})
</span>
<!-- Mobile: klikalny tytuł -> shared_list -->
<a class="d-inline d-sm-none text-white text-decoration-none"
href="{{ url_for('shared_list', list_id=l.id) }}">
{{ l.title }} (Autor: {{ l.owner.username if l.owner else '—' }})
</a>
{% for cat in l.category_badges %}
<span class="badge rounded-pill text-dark ms-1"
style="background-color: {{ cat.color }}; font-size: 0.56rem; opacity: 0.85;">