This commit is contained in:
msoliman3
2022-11-03 12:44:07 +01:00
3 changed files with 15 additions and 1 deletions

View File

@@ -107,7 +107,7 @@
</ul>
</div>
</div>
<!-- <div class="button">BLOCKED WORDS</div> -->
<span class="material-symbols-outlined order-btn">arrow_downward</span>
</div>
<div class="popchart column">
<span class="colheader chartheader">Sports Popularity Chart</span>

View File

@@ -68,3 +68,11 @@ $(".logo").on("click", function() {
root.style.setProperty('--column-color', 'rgba(112, 128, 144, 0.388');
}
})
$(".order-btn").on("click", function() {
if($(this).html() == "arrow_downward") { // Descending to ascending
$(this).html("arrow_upward")
} else { // Ascending to descending
$(this).html("arrow_downward")
}
})

View File

@@ -245,6 +245,12 @@ body {
border: none;
}
.material-symbols-outlined.order-btn {
line-height: 52px;
font-weight: 600;
user-select: none;
}
.sort-btn {
user-select: none;
position: relative;