Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix: Keep with auto for category badge (#1963)

Alessio Cappab3fce374248f
diff --git a/app/views/categories/_badge.html.erb b/app/views/categories/_badge.html.erb
index 5570f2c704..5ab8d6c1db 100644
--- a/app/views/categories/_badge.html.erb
+++ b/app/views/categories/_badge.html.erb
@@ -1,7 +1,7 @@
<%# locals: (category:) %>
<% category ||= Category.uncategorized %>
-<div class="min-w-0 w-full">
+<div class="min-w-0">
<span class="flex w-full items-center gap-1 text-sm font-medium rounded-full px-1.5 py-1 border focus-visible:outline-none focus-visible:ring-0"
style="
background-color: color-mix(in oklab, <%= category.color %> 10%, transparent);