Skip to content

Commit d99f464

Browse files
authored
Make plots wrapper element have 100% width and height (#1774)
1 parent e2269a7 commit d99f464

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

webview/src/plots/components/Plots.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ export const Plots = ({ state }: PlotsProps) => {
175175

176176
return (
177177
<div
178+
className={styles.plots}
178179
style={variables}
179180
onContextMenu={e => {
180181
e.preventDefault()

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
$gap: 20px;
55

6+
.plots {
7+
width: 100%;
8+
height: 100%;
9+
}
10+
611
.plotsContainer {
712
width: 100%;
813

0 commit comments

Comments
 (0)