make category tree toggle a real button

This commit is contained in:
Barış Soner Uşaklı
2026-02-23 11:14:57 -05:00
parent 955579fa40
commit 48032cc132
2 changed files with 3 additions and 10 deletions

View File

@@ -23,13 +23,6 @@ div.categories {
}
}
.toggle {
width: 24px;
height: 24px;
line-height: 24px;
cursor: pointer;
}
.information {
cursor: move;
}

View File

@@ -5,9 +5,9 @@
<div class="category-row d-flex justify-content-between mb-1">
<div class="flex-grow-1 align-items-start d-flex gap-2">
<div class="d-flex gap-2">
<div class="toggle text-center text-sm">
<i class="fa fa-chevron-down"></i>
</div>
<button class="btn btn-ghost btn-sm toggle align-self-start">
<i class="fa fa-fw fa-chevron-down"></i>
</button>
<div class="information flex-1 align-items-start d-flex gap-2">
<div>
{buildCategoryIcon(@value, "28px", "rounded-1")}