1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Ignore empty categories while importing (#789)

* Ignore empty categories while importing

* Review fixes
This commit is contained in:
Jakub Kottnauer 2024-05-22 14:12:56 +02:00 committed by GitHub
parent ac27a1c87f
commit 77f166a5f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 23 additions and 8 deletions

View file

@ -1,7 +1,7 @@
<%# locals: (category:) %>
<% category ||= null_category %>
<span class="border text-sm font-medium px-2.5 py-1 rounded-full cursor-pointer content-center"
<span class="border text-sm font-medium px-2.5 py-1 rounded-full content-center"
style="
background-color: color-mix(in srgb, <%= category.color %> 5%, white);
border-color: color-mix(in srgb, <%= category.color %> 10%, white);