Skip to content

Commit 12fb8aa

Browse files
authored
Fix zoomed in plot overflow (#2366)
1 parent bcd60e2 commit 12fb8aa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

webview/src/plots/components/styles.module.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,15 @@ $gap: 20px;
347347
width: 80vw;
348348
height: calc(80vh - 100px);
349349

350+
:global(.chart-wrapper) {
351+
width: 100%;
352+
height: 100%;
353+
}
354+
350355
svg {
351356
background-color: transparent !important;
352-
max-width: 100%;
357+
width: 100%;
358+
height: 100%;
353359
}
354360
}
355361

0 commit comments

Comments
 (0)