improving css for flex charts on mobile
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
<ul class="main-content">
|
<ul class="main-content">
|
||||||
<li class="grid_4">
|
<li class="grid_4">
|
||||||
<div id="theplot" class="flexplot" style="min-width:300px;">
|
<div id="theplot" class="flexplot">
|
||||||
{{ the_div|safe }}
|
{{ the_div|safe }}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -1005,6 +1005,7 @@ th.rotate > div > span {
|
|||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
a.wh:link {
|
a.wh:link {
|
||||||
color: #e9e9e9;
|
color: #e9e9e9;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -564,28 +564,28 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@media (min-height: 600px) {
|
@media only screen and (min-height: 600px) {
|
||||||
.maxheight {
|
.maxheight {
|
||||||
max-height: 450px;
|
max-height: 450px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-height: 600px) {
|
@media only screen and (min-height: 600px) {
|
||||||
.maxheight {
|
.maxheight {
|
||||||
max-height: 450px;
|
max-height: 450px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-height: 800px) {
|
@media only screen and (min-height: 800px) {
|
||||||
.maxheight {
|
.maxheight {
|
||||||
max-height: 600px;
|
max-height: 600px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-height: 1000px) {
|
@media only screen and (min-height: 1000px) {
|
||||||
.maxheight {
|
.maxheight {
|
||||||
max-height: 800px;
|
max-height: 800px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
@@ -593,7 +593,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
nav a {
|
nav a {
|
||||||
font-size: 0px;
|
font-size: 0px;
|
||||||
}
|
}
|
||||||
@@ -601,9 +601,22 @@
|
|||||||
nav a i {
|
nav a i {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#theplot .bk-grid-column {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#theplot .bk-plot-layout {
|
||||||
|
position: auto;
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 450px) {
|
|
||||||
|
|
||||||
|
@media only screen and (min-width: 450px) {
|
||||||
.wrapper {
|
.wrapper {
|
||||||
grid-template-columns: 1fr 3fr;
|
grid-template-columns: 1fr 3fr;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
@@ -648,7 +661,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media only screen and (min-width: 768px) {
|
||||||
.wrapper {
|
.wrapper {
|
||||||
grid-template-columns: 1fr 4fr 1fr;
|
grid-template-columns: 1fr 4fr 1fr;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
@@ -727,7 +740,7 @@
|
|||||||
page-break-after: avoid;
|
page-break-after: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul, img {
|
ul, img, table {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user