fix map marker width
This commit is contained in:
@ -55,28 +55,21 @@
|
||||
|
||||
.map {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mini-map {
|
||||
width: 100%;
|
||||
height: 520rpx;
|
||||
}
|
||||
.instance {
|
||||
width: 100%;
|
||||
height: 520rpx;
|
||||
|
||||
.custom-callout {
|
||||
width: fit-content;
|
||||
max-width: 400rpx;
|
||||
background: var(--theme-bg-card-secondary);
|
||||
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, .15);
|
||||
border-radius: 8rpx;
|
||||
|
||||
.callout-content {
|
||||
padding: 12rpx 20rpx;
|
||||
|
||||
.callout-text {
|
||||
.marker {
|
||||
width: calc(var(--title-length) * 28rpx);
|
||||
color: var(--theme-text-primary);
|
||||
padding: 8rpx;
|
||||
overflow: hidden;
|
||||
font-size: 28rpx;
|
||||
background: var(--theme-bg-card);
|
||||
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, .15);
|
||||
white-space: nowrap;
|
||||
border-radius: 8rpx;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user