fix: improve growth comparison UX
All checks were successful
CD Pipeline / deploy (push) Successful in 1m1s

This commit is contained in:
ogt
2026-06-25 15:39:52 +08:00
parent feabc70b99
commit f8eb7f6a99
6 changed files with 199 additions and 41 deletions

View File

@@ -314,8 +314,9 @@
.growth-strategy-lane {
display: grid;
gap: 7px;
min-height: 118px;
grid-template-rows: auto auto auto 1fr;
gap: 6px;
min-height: 132px;
padding: 12px;
background: color-mix(in srgb, var(--momo-bg-paper) 76%, transparent);
border: 1px solid var(--momo-border-light);
@@ -335,6 +336,21 @@
line-height: 1;
}
.growth-strategy-lane small {
display: inline-flex;
align-items: center;
width: fit-content;
min-height: 23px;
padding: 3px 8px;
color: var(--momo-text-primary);
background: rgba(255, 255, 255, 0.72);
border: 1px solid rgba(42, 37, 32, 0.08);
border-radius: 999px;
font-size: 11px;
font-weight: 900;
line-height: 1.1;
}
.growth-strategy-lane.is-danger {
border-color: rgba(188, 75, 49, 0.32);
background: rgba(255, 244, 239, 0.72);