🎨 style(templates/base.twig): Met à jour la couleur du texte actif et au survol dans la navbar
This commit is contained in:
@@ -148,7 +148,7 @@
|
||||
{% set is_active = (app.request.get('_route') == link.route) %}
|
||||
|
||||
<a href="{{ path(link.route) }}"
|
||||
class="{% if is_active %}bg-gray-100 text-red-600{% else %}text-gray-700 hover:bg-gray-100 hover:text-red-600{% endif %} px-3 py-2 rounded-md text-sm font-medium">
|
||||
class="{% if is_active %}bg-gray-100 text-red-800{% else %}text-gray-700 hover:bg-gray-100 hover:text-red-800{% endif %} px-3 py-2 rounded-md text-sm font-medium">
|
||||
{{ link.name }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user