responsive

This commit is contained in:
Tim Wijma
2022-11-03 14:59:28 +01:00
parent 84ec397531
commit 670194eb88
5 changed files with 11 additions and 1 deletions

View File

Binary file not shown.

View File

@@ -26,8 +26,8 @@ $(".sport").on("click", function() {
selectedSports.push(sportName) // Add sport to array
}
$(this).trigger("selected", [selectedSports.includes(sportName), selectedSports]) // Trigger event
showFeeds()
$(this).trigger("selected", [selectedSports.includes(sportName), selectedSports]) // Trigger event
})
$(window).on("resize", function(){

View File

@@ -9,6 +9,7 @@
@media only screen and (max-width: 850px) {
.maintable {
grid-template-columns: 1fr;
grid-template-rows: 1fr 100%;
}
.header-title {
display: none;
@@ -22,6 +23,15 @@
.colheader {
font-size: 32px;
}
.popchart {
display: none;
}
.leftcol {
overflow-y: auto;
}
.rightcol {
grid-row: 1;
}
}

View File

Binary file not shown.

View File

Binary file not shown.