centered chart on smaller screens

This commit is contained in:
mcguirepr89
2022-03-31 10:55:15 -04:00
parent e3cf6f4eb3
commit 79d025049a
2 changed files with 10 additions and 4 deletions
+10 -2
View File
@@ -404,7 +404,7 @@ button:hover {
display: block; display: block;
text-align: center; text-align: center;
} }
.overview span { .left-column {
display: none; display: none;
} }
.right-column { .right-column {
@@ -414,6 +414,10 @@ button:hover {
img { img {
max-width: 100%; max-width: 100%;
} }
.overview .right-column img {
margin-left: 5%;
margin-right: auto;
}
} }
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {
@@ -475,11 +479,15 @@ button:hover {
.topnav.responsive button { .topnav.responsive button {
display: block; display: block;
} }
.overview .column .left { .left-column {
display: none; display: none;
} }
.version {display:none;} .version {display:none;}
.left { .left {
display:none; display:none;
} }
.right-column img {
margin-left: 10%;
margin-right: auto;
}
} }
-2
View File
@@ -76,7 +76,6 @@ body::-webkit-scrollbar {
</head> </head>
<div class="overview"> <div class="overview">
<div class="overview-stats"> <div class="overview-stats">
<span>
<div class="left-column"> <div class="left-column">
<table> <table>
<tr> <tr>
@@ -107,7 +106,6 @@ body::-webkit-scrollbar {
</tr> </tr>
</table> </table>
</div> </div>
</span>
<div class="right-column"> <div class="right-column">
<?php <?php
if (file_exists('/home/pi/BirdSongs/Extracted/Charts/'.$chart)) { if (file_exists('/home/pi/BirdSongs/Extracted/Charts/'.$chart)) {