Skip to content

Commit 66728cd

Browse files
committed
Fixed scrolling in flow component
1 parent f0ef3fc commit 66728cd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

website/src/components/PresentationMode/RevealSlideshow.module.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,15 @@
335335

336336
/* Code Execution Flow Styles */
337337
.executionFlow {
338-
composes: gpuOptimized;
338+
will-change: transform;
339+
transform: translateZ(0);
339340
text-align: left;
340341
max-width: 90%;
341-
margin: 0 auto;
342+
margin: 1em auto;
342343
padding: 0.5em;
343-
height: 100%;
344+
max-height: 60vh;
344345
overflow-y: auto;
346+
scroll-margin-top: 1em;
345347
}
346348

347349
.executionStep {

0 commit comments

Comments
 (0)