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 <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2025-12-02 20:17:18 -05:00
1 parent 6c930a9f24
commit b166404b0a
3 files changed
+13 -7

No files matched your search

+7 -2
View File
@@ -292,16 +292,21 @@ html {
/* Tags */
.tag {
--bs-btn-padding-y: 0.25rem; /* Make the badge shorter */
border-style: none;
}
#selected-tags .tag {
border-style: solid;
}
/* Tag Input Container */
.tag-input {
display: flex;
align-items: center;
border: 1px solid #ced4da;
border: 1px solid var(--bs-border-color);
border-radius: .25rem;
padding: .375rem .75rem;
background-color: #fff;
background-color: var(--bs-body-bg);
margin-bottom: 2rem;
}