feat: update historical lake sensor data and improve wind chart component rendering
This commit is contained in:
+36
-5
@@ -374,7 +374,7 @@
|
||||
|
||||
.main-content {
|
||||
margin-left: 0 !important;
|
||||
padding: 1rem;
|
||||
padding: 1rem 0.5rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
@@ -432,7 +432,7 @@
|
||||
}
|
||||
|
||||
.chart-card {
|
||||
padding: 1rem;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.chart-header {
|
||||
@@ -468,11 +468,42 @@
|
||||
|
||||
.chart-legend-container {
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem !important;
|
||||
justify-content: flex-start !important;
|
||||
gap: 0.6rem !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
.chart-legend-container>span {
|
||||
flex: 0 0 calc(50% - 0.5rem);
|
||||
flex: none !important;
|
||||
padding: 0.5rem 0.85rem;
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 20px;
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 38px; /* Touch target optimized */
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Chart Optimizations */
|
||||
@media (max-width: 768px) {
|
||||
.chart-ref-label {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.chart-tooltip {
|
||||
padding: 0.6rem !important;
|
||||
max-width: 280px !important;
|
||||
}
|
||||
|
||||
.chart-tooltip p,
|
||||
.chart-tooltip div {
|
||||
font-size: 0.8rem !important;
|
||||
margin-bottom: 2px !important;
|
||||
}
|
||||
|
||||
.recharts-cartesian-axis-tick text {
|
||||
font-size: 10px !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user