aboutsummaryrefslogtreecommitdiff
path: root/templates/category/table.html
diff options
context:
space:
mode:
authorJoris2022-09-04 11:31:07 +0200
committerJoris2022-09-04 11:31:07 +0200
commit7c5a31a162eb6664eff665e0cfadc089188a5e8f (patch)
tree6ba3a21da0cce8a3ae76e00ed0918f20c62403d2 /templates/category/table.html
parentd8e39e49d32502a39c1097e2a4ee9354f321220a (diff)
Remove inline styling for category colors
Also stop changing color of select options, because it does not work reliably accross browsers.
Diffstat (limited to 'templates/category/table.html')
-rw-r--r--templates/category/table.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/category/table.html b/templates/category/table.html
index e05c84b..d4147aa 100644
--- a/templates/category/table.html
+++ b/templates/category/table.html
@@ -27,7 +27,8 @@
>
<span
class="g-Table__Cell"
- style="color: {{ category.color }}"
+ is="colored-category"
+ data-color="{{ category.color }}"
>
{{ category.name }}
</span>