This commit is contained in:
2024-03-29 19:36:12 +01:00
parent 09e3d7020e
commit 0666b21bc5

View File

@@ -6,21 +6,20 @@
} }
body { body {
padding-top: 5vw;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center;
height: 100vh;
margin: 0; margin: 0;
margin-top: 8vh;
background-color: #f0f0f0; background-color: #f0f0f0;
flex-direction: column; flex-direction: column;
background-color: #afafaf; background-color: #afafaf;
align-items: center;
} }
.gaugeGroup { .gaugeGroup {
width: 98vw; width: 98vw;
height: 20vh; height: auto;
display: flex; display: flex;
flex-direction: column; /* Keep as column */ flex-direction: column; /* Keep as column */
justify-content: flex-start; justify-content: flex-start;
@@ -32,8 +31,8 @@ body {
clear: both; clear: both;
margin-bottom: 10px; margin-bottom: 10px;
position: relative; position: relative;
float: top;
} }
.groupTitle { .groupTitle {
width: 100%; width: 100%;
text-align: center; text-align: center;
@@ -76,7 +75,9 @@ body {
height: 80%; /* Increase the height from 70% to 80% */ height: 80%; /* Increase the height from 70% to 80% */
position: relative; position: relative;
overflow: visible; overflow: visible;
height: 5vh;
margin-bottom: 1vh;
} }
.gaugeImage { .gaugeImage {
@@ -89,7 +90,6 @@ body {
left: 0; left: 0;
z-index: 1; /* Make the image display below the needle */ z-index: 1; /* Make the image display below the needle */
bottom: 0; bottom: 0;
margin-bottom: 10px;
} }
.gaugeValue, .gaugeText { .gaugeValue, .gaugeText {
@@ -179,4 +179,15 @@ body {
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
font-size: 18px; font-size: 18px;
}
.plotly-container {
float: bottom;
margin: auto;
padding: 1vw;
align-items: center;
justify-content: center;
display: flex;
width: 20vw;
} }