Refine scan terminal focus and stale snapshot handling

This commit is contained in:
2569718930@qq.com
2026-04-26 00:54:39 +08:00
parent 92e505d804
commit 90fcb96fa7
2 changed files with 77 additions and 14 deletions
@@ -11042,7 +11042,15 @@
line-height: 1;
}
.root :global(.scan-ai-city-remove),
.root :global(.scan-ai-city-actions) {
display: inline-flex;
justify-content: flex-end;
gap: 8px;
margin-top: 4px;
}
.root :global(.scan-ai-city-pin),
.root :global(.scan-ai-city-collapse),
.root :global(.scan-ai-city-price-button) {
min-height: 36px;
display: inline-flex;
@@ -11058,15 +11066,30 @@
transition: background 0.18s ease, border-color 0.18s ease;
}
.root :global(.scan-ai-city-remove) {
.root :global(.scan-ai-city-pin) {
width: 36px;
justify-content: center;
padding: 0;
}
.root :global(.scan-ai-city-collapse) {
padding: 8px 10px;
}
.root :global(.scan-ai-city-card.collapsed .scan-ai-city-collapse svg) {
transform: rotate(-90deg);
}
.root :global(.scan-ai-city-collapse svg) {
transition: transform 0.18s ease;
}
.root :global(.scan-ai-city-price-button) {
padding: 9px 12px;
}
.root :global(.scan-ai-city-remove:hover),
.root :global(.scan-ai-city-pin:hover),
.root :global(.scan-ai-city-collapse:hover),
.root :global(.scan-ai-city-price-button:hover) {
background: rgba(77, 163, 255, 0.18);
border-color: rgba(111, 183, 255, 0.58);