fix(Home): more accesibles home tag nav button

This commit is contained in:
Matthieu Bessat 2020-09-05 23:59:18 +02:00
parent 5bd5a5f0df
commit 0ec61c855d
2 changed files with 21 additions and 14 deletions

View file

@ -6,7 +6,7 @@
{% endblock %}
{% block content %}
<div class="nav">
<div
<button
id="nav-enabler"
class="nav-item nav-mobile-enabler">
<div class="nav-icon">
@ -23,9 +23,9 @@
</i>
</div>
</div>
</div>
</button>
<div id="nav-content">
<div class="nav-item" id="nav-all">
<button class="nav-item" id="nav-all">
<div class="nav-icon">
<svg aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"></path>
@ -44,9 +44,9 @@
</svg>
</div>
</div>
</div>
</button>
{% for tag in tags %}
<div class="nav-item" data-tag-id="{{ tag._id }}">
<button class="nav-item" data-tag-id="{{ tag._id }}">
<div class="nav-icon">
<svg aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {{ tag.icon.width }} {{ tag.icon.height }}">
<path
@ -68,7 +68,7 @@
</svg>
</div>
</div>
</div>
</button>
{% endfor %}
</div>
</div>