Skip to content

Commit 59e8416

Browse files
stveitpodliashanyk
andauthored
Use neutral-content as temporary fix for tag badges contrast problems
--------- Co-authored-by: podliashanyk <[email protected]>
1 parent fb372cd commit 59e8416

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/1375.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed color contrast for incident tags badges (temporary fix)

src/argus/htmx/templates/htmx/incident/incident_detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h2 class="card-title pl-8">Status</h2>
3535
<h2 class="card-title pl-8">Tags</h2>
3636
<p class="card-body flex-row flex-wrap gap-0.5">
3737
{% for tag in incident.deprecated_tags %}
38-
<span class="badge badge-neutral badge-outline h-auto text-wrap break-all text-center text-xs">
38+
<span class="badge badge-neutral-content badge-outline h-auto text-wrap break-all text-center text-xs">
3939
{# djlint:off #}
4040
{{ tag.key }}{{ tag.TAG_DELIMITER }}{% if tag.value|is_valid_url %}<a href="{{ tag.value }}" target="_blank" rel="noreferrer">{{ tag.value }}</a>{% else %}{{ tag.value }}{% endif %}
4141
{# djlint:on #}

0 commit comments

Comments
 (0)