From b166404b0ac452b0ae7dca710e2e50293b510898 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 29 Nov 2025 10:22:28 +0530 Subject: [PATCH] ui: Use default button style for tag buttons - In the app header as well as tag search bar. - De-emphasize the tag buttons in app header so that users won't see them as sections of the page. - Add a bullet Unicode character between the tags in app header to separate them properly with new de-emphasized styling. - Fix vertical alignment of text between tag buttons in app header and the close button in tags in tag search bar. Tests: - In the app header, styling has been de-emphasized and tags now look more like simple text. They are a separated with a bullet Unicode character. Vertical alignment of bullets is accurate. - In the tag search bar, tags continue to look like buttons but more like default buttons. Vertical alignment of close button is accurate. - In both areas tags look properly in dark and light color themes. - In mobile view when there are a lot of tags, tags flow into second line. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/templates/app-header.html | 5 +++-- plinth/templates/tags.html | 6 +++--- static/themes/default/css/main.css | 9 +++++++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/plinth/templates/app-header.html b/plinth/templates/app-header.html index efed5c201..e10945a86 100644 --- a/plinth/templates/app-header.html +++ b/plinth/templates/app-header.html @@ -43,10 +43,11 @@ {% if app_info.tags %} -
+
{% for tag in app_info.tags %} + {% if not forloop.first %}•{% endif %} + class="btn btn-default rounded-pill tag"> {% trans tag %} {% endfor %} diff --git a/plinth/templates/tags.html b/plinth/templates/tags.html index 1dd96dfc7..215c416f8 100644 --- a/plinth/templates/tags.html +++ b/plinth/templates/tags.html @@ -8,12 +8,12 @@