clear-input recherche
This commit is contained in:
@@ -12,6 +12,17 @@
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="input-wrapper">
|
||||
<input{{ attributes }} />{{ children }}
|
||||
|
||||
|
||||
<div class="input-wrapper search-with-clear">
|
||||
<input{{ attributes }} />{{ children }}
|
||||
{% if attributes.id == 'edit-combine' %}
|
||||
<button type="button" class="clear-input" aria-label="Effacer la recherche">
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
||||
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<line x1="18" y1="6" x2="6" y2="18"/>
|
||||
<line x1="6" y1="6" x2="18" y2="18"/>
|
||||
</svg>
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user