From 670194eb88e7dac0361454b388d38f2bedf55cd0 Mon Sep 17 00:00:00 2001 From: Tim Wijma Date: Thu, 3 Nov 2022 14:59:28 +0100 Subject: [PATCH] responsive --- __pycache__/dashboard.cpython-310.pyc | Bin 1575 -> 1561 bytes dashboard_static/js/events.js | 2 +- dashboard_static/style/responsive.css | 10 ++++++++++ eca/__pycache__/arff.cpython-310.pyc | Bin 10610 -> 10596 bytes eca/__pycache__/generators.cpython-310.pyc | Bin 3913 -> 3899 bytes 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/__pycache__/dashboard.cpython-310.pyc b/__pycache__/dashboard.cpython-310.pyc index ab7ebca5d192afbbc21ac33e12aff0df021f0b95..66600d3ba265eaae9c231c26081dc0874f78cd80 100644 GIT binary patch delta 80 zcmZ3^Gn0oepO=@50SGP}NlrFo+sK#5Xl&2X8x{)uD(a}dgv^ce>SU*1}vn;hJBQLQ;-zBv;yClCr wKeVJgHLoO9KQcA3$WY%mKczG$)lk2rJhP-EwMe(1C_gJTxkP{SBF1tS0J-8Iz5oCK diff --git a/dashboard_static/js/events.js b/dashboard_static/js/events.js index 1994b5f..b6ad6b5 100644 --- a/dashboard_static/js/events.js +++ b/dashboard_static/js/events.js @@ -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(){ diff --git a/dashboard_static/style/responsive.css b/dashboard_static/style/responsive.css index 379fbba..175b042 100644 --- a/dashboard_static/style/responsive.css +++ b/dashboard_static/style/responsive.css @@ -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; + } } diff --git a/eca/__pycache__/arff.cpython-310.pyc b/eca/__pycache__/arff.cpython-310.pyc index 1516621a59785020207256a2be42150d073cc160..dab7427d1e834bcde8ccb59363edf0b65174b18e 100644 GIT binary patch delta 98 zcmewq^dyKcpO=@50SN3L#3x_Y*vQApY;Nmp6%$&VT2vfUl9^kc8RL?lT$-DjS5h3~ zo1apeld51CQ&OH;Qj%JvTTqmrm6}`=3N}I!azzwCW;pTiyb1` delta 112 zcmaD7^eKohpO=@50SL;sh9?KBZ{*`-cJe*3Zw$EK4oQ$V)8IcS$YIF3B&@ z4=pKA%_~XOk4#N0GSv6YPbtkwHPkOD&nziPEz&J0%FjwoF40d-PSoG*#~jPbcx&?- Nj#yzJ#U&HP3jk99CVl__ diff --git a/eca/__pycache__/generators.cpython-310.pyc b/eca/__pycache__/generators.cpython-310.pyc index 155bc4d8708199018b99b564bcb0b143f7aecc2c..01498c6c8ba1f70d9813f18b01d362c22d8e231b 100644 GIT binary patch delta 83 zcmX>pw_A=kpO=@50SN3L#3vu!$h(Ni+}YVGCbT%Us5qu1Gq*f5#w9