修复轨迹浮窗文字布局

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-06-16 19:54:01 +08:00
co-authored by Claude
parent 3a94cf2c3e
commit 5b873ea059
+45
View File
@@ -1307,6 +1307,51 @@ h3 {
overflow-wrap: anywhere;
}
.trajectory-point-popup .leaflet-popup-content {
width: 240px !important;
max-width: 240px !important;
}
.trajectory-popup {
line-height: 1.45;
white-space: nowrap;
}
.trajectory-popup strong {
display: block;
margin-bottom: 8px;
color: var(--color-heading);
font-size: 15px;
}
.trajectory-popup dl {
display: grid;
gap: 6px;
margin: 0;
}
.trajectory-popup dl div {
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
gap: 8px;
align-items: baseline;
}
.trajectory-popup dt {
color: var(--color-muted);
font-size: 12px;
letter-spacing: 0;
text-transform: none;
white-space: nowrap;
}
.trajectory-popup dd {
margin: 0;
color: var(--color-heading);
font-weight: 700;
white-space: nowrap;
}
.detail-grid {
display: grid;
grid-template-columns: 1.2fr 1fr 1fr;