roannais-icitoyen: add label to search-cell button (#44965)

This commit is contained in:
Thomas Jund 2020-07-09 10:53:23 +02:00
parent e0d99e89d9
commit d6b503bf04
2 changed files with 10 additions and 1 deletions

View File

@ -745,6 +745,11 @@ body:not(.page-template-homepage) #sidebar {
border-color: transparent;
background-color: transparent;
transform: translateX(-1px);
// hide label
.submit-label {
@include sr-only();
}
&::after {
content: "\f002";
font-family: FontAwesome, sans-serif;

View File

@ -1,4 +1,8 @@
{% extends "combo/search-cell.html" %}
{% load gadjo i18n static %}
{% block submit-content %}{% endblock %}
{% block submit-content %}
<span class="submit-label">
{% trans 'Search' %}
</span>
{% endblock %}