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> </ul>
</div> </div>
</div> </div>
<!-- <div class="button">BLOCKED WORDS</div> --> <span class="material-symbols-outlined order-btn">arrow_downward</span>
</div> </div>
<div class="popchart column"> <div class="popchart column">
<span class="colheader chartheader">Sports Popularity Chart</span> <span class="colheader chartheader">Sports Popularity Chart</span>

View File

@@ -67,4 +67,12 @@ $(".logo").on("click", function() {
root.style.setProperty('--tweet-color', 'whitesmoke'); root.style.setProperty('--tweet-color', 'whitesmoke');
root.style.setProperty('--column-color', 'rgba(112, 128, 144, 0.388'); 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; border: none;
} }
.material-symbols-outlined.order-btn {
line-height: 52px;
font-weight: 600;
user-select: none;
}
.sort-btn { .sort-btn {
user-select: none; user-select: none;
position: relative; position: relative;