优化安卓界面布局

This commit is contained in:
CN-JS-HuiBai
2026-04-06 16:13:31 +08:00
parent 1f12197a91
commit b79655ccdc

View File

@@ -2043,9 +2043,15 @@ input:checked+.slider:before {
.chart-card-header { .chart-card-header {
padding: 14px 14px 0; padding: 14px 14px 0;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center;
gap: 8px; gap: 8px;
} }
#networkChart .chart-card-header {
flex-direction: column;
align-items: flex-start;
}
.chart-title { .chart-title {
font-size: 0.82rem; font-size: 0.82rem;
} }
@@ -2207,10 +2213,20 @@ input:checked+.slider:before {
.metric-item-header { .metric-item-header {
padding: 10px 12px; padding: 10px 12px;
flex-wrap: wrap;
gap: 8px;
}
.metric-label-group {
flex-wrap: wrap;
gap: 6px;
flex: 1;
min-width: 0;
} }
.metric-label { .metric-label {
font-size: 0.85rem; font-size: 0.85rem;
white-space: normal;
} }
.metric-value { .metric-value {
@@ -2469,13 +2485,16 @@ input:checked+.slider:before {
/* -- Chart card header vertical layout -- */ /* -- Chart card header vertical layout -- */
.chart-card-header { .chart-card-header {
flex-direction: column; flex-direction: row;
align-items: flex-start; flex-wrap: wrap;
gap: 6px; align-items: center;
gap: 8px;
} }
.chart-header-right { .chart-header-right {
width: 100%; width: auto;
flex: 1;
justify-content: flex-end;
} }
/* -- Traffic footer compact -- */ /* -- Traffic footer compact -- */
@@ -2524,6 +2543,24 @@ input:checked+.slider:before {
.chart-legend { .chart-legend {
flex-wrap: wrap; flex-wrap: wrap;
} }
#serverSearchFilter {
width: 100%;
min-width: 80px;
max-width: 100px;
}
#serverSearchFilter:focus {
max-width: 130px;
}
.source-select {
max-width: 80px;
}
.detail-info-grid {
grid-template-columns: 1fr;
}
} }
/* ---- Globe Card Expansion ---- */ /* ---- Globe Card Expansion ---- */