Merge branch 'main' of https://github.com/olinpin/twitter-project into branch
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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")
|
||||||
|
}
|
||||||
})
|
})
|
||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user