Expand options position card inline below the clicked bar.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-09 17:06:22 +08:00
parent ff83f6eebc
commit 3d11b91869
3 changed files with 31 additions and 73 deletions
+13 -23
View File
@@ -3213,35 +3213,15 @@ html[data-theme="light"] .options-estimate-row {
font-size: 0.78rem;
color: #b8c0dc;
}
.options-pos-live-layout {
display: flex;
flex-direction: column;
min-height: 0;
flex: 1;
}
.opt-pos-expanded-host {
flex-shrink: 0;
margin-top: 8px;
overflow: visible;
}
.opt-pos-expanded-host .opt-pos-card {
margin-bottom: 0;
}
.options-pos-live-pane--bars-only {
flex: 1;
min-height: 72px;
max-height: 140px;
overflow-y: auto;
}
.options-pos-subcard .options-pos-live-layout {
min-height: 0;
}
.options-pos-live-pane {
flex: 1;
min-height: 100px;
max-height: 220px;
overflow-y: auto;
}
.options-pos-live-pane.options-pos-live-pane--accordion {
max-height: 360px;
}
.options-pos-stats-card {
flex-shrink: 0;
}
@@ -3308,8 +3288,18 @@ html[data-theme="light"] .options-estimate-row {
}
.opt-pos-accordion-item.is-expanded .opt-pos-bar {
border-color: #4a6fd8;
border-radius: 8px 8px 0 0;
border-bottom-color: transparent;
background: #171d2a;
}
.opt-pos-accordion-body {
overflow: visible;
}
.opt-pos-card--inline {
margin-bottom: 0 !important;
border-top: none !important;
border-radius: 0 0 8px 8px !important;
}
.opt-pos-bar-main {
display: flex;
align-items: center;