Skip to content

Commit 7fe1276

Browse files
committed
fix: Scrolling behavior with wizard
1 parent 70f8c8e commit 7fe1276

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/components/ComposeWizard/styles.module.css

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,7 @@
304304
.previewPanel {
305305
position: sticky;
306306
top: calc(var(--ifm-navbar-height) + 1rem);
307-
height: fit-content;
308-
max-height: calc(100vh - var(--ifm-navbar-height) - 2rem);
307+
align-self: start;
309308
}
310309

311310
.livePreview {
@@ -315,7 +314,7 @@
315314
background: var(--ifm-background-surface-color);
316315
display: flex;
317316
flex-direction: column;
318-
height: calc(100vh - var(--ifm-navbar-height) - 180px);
317+
max-height: calc(100vh - var(--ifm-navbar-height) - 120px);
319318
min-height: 400px;
320319
}
321320

@@ -460,20 +459,13 @@
460459

461460
.previewPanel {
462461
position: static;
463-
max-height: none;
464462
}
465463

466464
.livePreview {
467-
height: 500px;
465+
max-height: 500px;
468466
min-height: 400px;
469467
}
470468

471-
.configSections {
472-
max-height: none;
473-
overflow-y: visible;
474-
padding-right: 0;
475-
}
476-
477469
.deploymentTabs {
478470
overflow-x: auto;
479471
flex-wrap: nowrap;

0 commit comments

Comments
 (0)