fix map marker width

This commit is contained in:
Timi
2025-12-18 19:21:46 +08:00
parent 186a74bc77
commit 6f74559c01
11 changed files with 130 additions and 128 deletions

View File

@ -9,20 +9,17 @@
width: 100%;
height: 100%;
.custom-callout {
.marker {
width: fit-content;
padding: 12rpx 16rpx;
display: flex;
min-width: 300rpx;
max-width: 400rpx;
background: var(--theme-bg-card-secondary);
background: var(--theme-bg-card);
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, .15);
border-radius: 6rpx;
flex-direction: column;
.location-item {
.location {
display: flex;
padding: 6rpx 0;
padding: 8rpx 16rpx 8rpx 8rpx;
align-items: center;
.type {
@ -37,6 +34,7 @@
.title {
flex: 1;
width: calc(var(--title-length) * 28rpx);
color: var(--theme-text-primary, #333);
overflow: hidden;
font-size: 28rpx;