From eeae6f11e4ef5fa500b2d64c8c34a7fcc2c2ec36 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Fri, 1 Nov 2024 23:48:30 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20du=20rendu=20des=20cat?= =?UTF-8?q?=C3=A9gories?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/static/style.scss | 2 +- src/agenda_culturel/templatetags/cat_extra.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/agenda_culturel/static/style.scss b/src/agenda_culturel/static/style.scss index c9c223a..f039851 100644 --- a/src/agenda_culturel/static/style.scss +++ b/src/agenda_culturel/static/style.scss @@ -187,7 +187,7 @@ details[role="list"] summary + ul li.selected>a:hover { height: 2.6em; width: 2.6em; border-radius: 1.3em; - line-height: 2.6em; + line-height: 2.4em; img { width: 80%; margin: .2em 0; diff --git a/src/agenda_culturel/templatetags/cat_extra.py b/src/agenda_culturel/templatetags/cat_extra.py index 4b258f0..c9bd70d 100644 --- a/src/agenda_culturel/templatetags/cat_extra.py +++ b/src/agenda_culturel/templatetags/cat_extra.py @@ -219,20 +219,20 @@ def legend_cat(category, url, selected=True, first=False): n = category.name class_reduced = '' if selected else 'reduced' if first: - prefix = "afficher" + prefix = "" else: if selected: - prefix = "retirer" + prefix = "retirer " else: - prefix = "ajouter" + prefix = "ajouter " if category.pictogram: return mark_safe( - '' + '' + category.name + '' + '' + '' + category.name + '' ) else: return mark_safe( - '' + '' )