Skip to content
Snippets Groups Projects
Commit b0f76a73 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

fix filtering UI

parent 0797b430
No related branches found
No related tags found
2 merge requests!876Fix shared articles & release elections web,!870Fix filtering UI
Pipeline #16184 passed
......@@ -12,7 +12,7 @@
style="
{% if filtered_tag and filtered_tag.id == id %}
background:white !important;
text-color:black
color:black !important;
{% endif %}
"
>
......
......@@ -5,7 +5,18 @@
</div>
{% if filtered_tag %}
<a href="?tag_id=" class="text-white pb-6 underline">
<a
href="?tag_id="
class="
{% if reset_classes %}
{{ reset_classes }}
{% else %}
text-white
{% endif %}
pb-6 underline
"
>
Resetovat štítky
</a>
{% endif %}
......@@ -11,7 +11,7 @@
{% endblock %}
{% block after_heading %}
{% include 'styleguide2/includes/molecules/tags/tags.html' with classes='mb-4' tag_color_classes='bg-black text-white' tags_are_selectable=True %}
{% include 'styleguide2/includes/molecules/tags/tags.html' with classes='mb-4' tag_color_classes='bg-black text-white' reset_classes='text-black' tags_are_selectable=True %}
<form
class="flex justify-start"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment