convert 1 a tag to a button, and change native button css

master
Aevann1 2022-10-29 00:30:28 +02:00
parent 86beaad37c
commit b66f9fdb0a
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,10 @@
@charset "UTF-8"; @charset "UTF-8";
button {
background: none;
border: none;
padding: 0;
margin: 0;
}
*, *::before, *::after { *, *::before, *::after {
box-sizing: border-box; box-sizing: border-box;
} }

View File

@ -906,9 +906,9 @@
{% if v %} {% if v %}
<li class="list-inline-item"> <li class="list-inline-item">
<a role="button" data-bs-toggle="modal" data-bs-target="#actionsModal"> <button data-bs-toggle="modal" data-bs-target="#actionsModal">
<i class="fas fa-ellipsis-h"></i> <i class="fas fa-ellipsis-h"></i>
</a> </button>
</li> </li>
{% endif %} {% endif %}
<li id="voting-{{p.id}}-mobile" class="voting list-inline-item d-md-none{% if voted==1 %} upvoted{% elif voted==-1 %} downvoted{% endif %}"> <li id="voting-{{p.id}}-mobile" class="voting list-inline-item d-md-none{% if voted==1 %} upvoted{% elif voted==-1 %} downvoted{% endif %}">