centered overview on larger screens (@svarsten53)

This commit is contained in:
mcguirepr89
2022-03-25 11:21:08 -04:00
parent 5d97cd6ab7
commit 5e01f649c2
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -118,7 +118,7 @@ button:hover {
padding: 10px; padding: 10px;
} }
.topnav, .topnav form { .topnav {
background-color: rgb(159, 226, 155); background-color: rgb(159, 226, 155);
display: block; display: block;
width: 85%; width: 85%;
@@ -127,6 +127,8 @@ button:hover {
} }
.topnav form { .topnav form {
display: block;
width: 80%;
margin-left: auto; margin-left: auto;
margin-rigth: auto; margin-rigth: auto;
} }
@@ -200,7 +202,7 @@ button:hover {
} }
.overview span img { .overview span img {
margin-left: 15%; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
+1 -1
View File
@@ -104,7 +104,7 @@ $totalspeciestally = $result6->fetchArray(SQLITE3_ASSOC);
</div> </div>
<?php <?php
if (file_exists('/home/pi/BirdSongs/Extracted/Charts/'.$chart)) { if (file_exists('/home/pi/BirdSongs/Extracted/Charts/'.$chart)) {
echo "<img src=\"/Charts/$chart?nocache=time()\">"; echo "<img style=\"display:block;max-height:100%;margin-left:25%;margin-right:10%;\" src=\"/Charts/$chart?nocache=time()\">";
} else { } else {
echo "<p>No Detections For Today</p>"; echo "<p>No Detections For Today</p>";
} }