responsive
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -26,8 +26,8 @@ $(".sport").on("click", function() { | |||||||
|         selectedSports.push(sportName)  // Add sport to array |         selectedSports.push(sportName)  // Add sport to array | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     $(this).trigger("selected", [selectedSports.includes(sportName), selectedSports]) // Trigger event |  | ||||||
|     showFeeds() |     showFeeds() | ||||||
|  |     $(this).trigger("selected", [selectedSports.includes(sportName), selectedSports]) // Trigger event | ||||||
| }) | }) | ||||||
|  |  | ||||||
| $(window).on("resize", function(){ | $(window).on("resize", function(){ | ||||||
|   | |||||||
| @@ -9,6 +9,7 @@ | |||||||
| @media only screen and (max-width: 850px) { | @media only screen and (max-width: 850px) { | ||||||
|     .maintable { |     .maintable { | ||||||
|         grid-template-columns: 1fr; |         grid-template-columns: 1fr; | ||||||
|  |         grid-template-rows: 1fr 100%; | ||||||
|     } |     } | ||||||
|     .header-title { |     .header-title { | ||||||
|         display: none; |         display: none; | ||||||
| @@ -22,6 +23,15 @@ | |||||||
|     .colheader { |     .colheader { | ||||||
|         font-size: 32px; |         font-size: 32px; | ||||||
|     } |     } | ||||||
|  |     .popchart { | ||||||
|  |         display: none; | ||||||
|  |     } | ||||||
|  |     .leftcol { | ||||||
|  |         overflow-y: auto; | ||||||
|  |     } | ||||||
|  |     .rightcol { | ||||||
|  |         grid-row: 1; | ||||||
|  |     } | ||||||
|  |  | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user
	 Tim Wijma
					Tim Wijma