fix prev commit

master
Aevann1 2022-09-14 13:28:51 +02:00
parent 56a7347fc1
commit e4a2e28ba3
1 changed files with 8 additions and 3 deletions

View File

@ -105,7 +105,7 @@
}
.quote {
display: inline-block !important;
display: inline-block;
padding: 0 0.5rem !important;
margin-bottom: 0.25rem !important;
border-color: transparent !important;
@ -147,7 +147,7 @@
<span class="text d-none"></span>
<button class="quote btn" onclick="quote(this)"><i class="fas fa-reply" aria-hidden="true"></i></button>
{% if v.admin_level > 1 %}
<button class="quote btn" onclick="this.nextElementSibling.classlist.remove('d-none')">
<button class="quote btn" onclick="this.nextElementSibling.classList.remove('d-none')">
<i class="fas fa-trash-alt" aria-hidden="true"></i>
</button>
<button class="quote btn d-none" onclick="del(this)">
@ -190,7 +190,12 @@
<span class="text d-none">{{m['text']}}</span>
<button class="quote btn" onclick="quote(this)"><i class="fas fa-reply" aria-hidden="true"></i></button>
{% if v.admin_level > 1 %}
<button class="quote btn" onclick="del(this)"><i class="fas fa-trash-alt" aria-hidden="true"></i></button>
<button class="quote btn" onclick="this.nextElementSibling.classList.remove('d-none')">
<i class="fas fa-trash-alt" aria-hidden="true"></i>
</button>
<button class="quote btn d-none" onclick="del(this)">
<i class="fas fa-trash-alt text-danger" aria-hidden="true"></i>
</button>
{% endif %}
</div>
</div>