修复地图放大之后消失的BUG

This commit is contained in:
CN-JS-HuiBai
2026-04-06 00:15:04 +08:00
parent 97e87409b5
commit d4d2927963
2 changed files with 31 additions and 17 deletions

View File

@@ -1997,6 +1997,8 @@ input:checked+.slider:before {
backdrop-filter: blur(15px);
animation: globeExpand 0.4s cubic-bezier(0.16, 1, 0.3, 1);
margin: 0 !important;
display: flex !important; /* Force flex for proper internal layout */
flex-direction: column;
}
@keyframes globeExpand {
@@ -2011,7 +2013,9 @@ input:checked+.slider:before {
}
.globe-card.expanded .globe-body {
height: calc(100% - 130px) !important;
flex: 1; /* Allow map to fill all remaining space */
height: auto !important; /* Override fixed height in expanded state */
min-height: 0;
}
.chart-header-actions {