Desktop calculator: stretch left/right cards to equal height.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-20 12:56:59 +08:00
parent 29c080f8e0
commit 221e8c3cad
2 changed files with 9 additions and 2 deletions
+8 -1
View File
@@ -9682,7 +9682,7 @@ body:not(.hub-phone) #page-calculator .calc-pane-split {
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
gap: 14px;
align-items: start;
align-items: stretch;
}
body:not(.hub-phone) #page-calculator .calc-input-panel,
@@ -9693,6 +9693,13 @@ body:not(.hub-phone) #page-calculator .calc-result-panel {
border: 1px solid var(--border-soft, var(--border));
box-shadow: var(--card-glow, none);
min-height: 280px;
height: 100%;
box-sizing: border-box;
}
body:not(.hub-phone) #page-calculator .calc-result-panel {
display: flex;
flex-direction: column;
}
body:not(.hub-phone) #page-calculator .calc-result-title {