Responsive charts alignment
This commit is contained in:
parent
8c62239b53
commit
152940e7d8
|
@ -1,7 +1,18 @@
|
||||||
|
@media (min-width: 640px) {
|
||||||
|
.barchart-container, .sachart-container {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1100px) {
|
||||||
|
.barchart-container, .sachart-container {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.barchart-container {
|
.barchart-container {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
float: left;
|
float: left;
|
||||||
width: 50%;
|
|
||||||
padding: 0 20px 20px 0;
|
padding: 0 20px 20px 0;
|
||||||
}
|
}
|
||||||
.barchart g {
|
.barchart g {
|
||||||
|
@ -22,7 +33,6 @@
|
||||||
.sachart-container {
|
.sachart-container {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
float: left;
|
float: left;
|
||||||
width: 50%;
|
|
||||||
padding: 0 20px 20px 0;
|
padding: 0 20px 20px 0;
|
||||||
}
|
}
|
||||||
.sachart-container .legend {
|
.sachart-container .legend {
|
||||||
|
|
Loading…
Reference in New Issue