Auto-size hub order popup iframe so trade form shows without scrollbars.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2527,8 +2527,9 @@ button.btn-sm {
|
||||
}
|
||||
|
||||
.order-popup-modal .order-popup-card {
|
||||
width: min(920px, calc(100vw - 24px));
|
||||
max-height: calc(100vh - 32px);
|
||||
width: min(980px, calc(100vw - 20px));
|
||||
max-width: none;
|
||||
max-height: calc(100vh - 20px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0;
|
||||
@@ -2536,7 +2537,7 @@ button.btn-sm {
|
||||
}
|
||||
|
||||
.order-popup-head {
|
||||
padding: 12px 14px;
|
||||
padding: 10px 14px;
|
||||
border-bottom: 1px solid var(--border-soft);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -2549,19 +2550,21 @@ button.btn-sm {
|
||||
|
||||
.order-popup-frame-wrap {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
min-height: 420px;
|
||||
max-height: calc(100vh - 120px);
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
background: #0b0d14;
|
||||
}
|
||||
|
||||
.order-popup-frame {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 420px;
|
||||
height: 520px;
|
||||
min-height: 0;
|
||||
border: 0;
|
||||
display: block;
|
||||
background: #0b0d14;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.order-popup-loading {
|
||||
|
||||
Reference in New Issue
Block a user