Skip to content

Commit

Permalink
Revert to old aspect ratio formula
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephanie Roy committed Nov 25, 2022
1 parent 71cd961 commit 1ffe029
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webview/src/plots/components/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,8 @@ $resizer-border: 2px dashed $accent-color;
}

.plot.multiViewPlot {
aspect-ratio: calc((0.4 - 0.1 * 5 - var(--scale)) * var(--scale) + 0.2);
aspect-ratio: calc(0.8 * var(--scale) + 0.2);
grid-column: span var(--scale);
min-width: 600px;
width: calc(300px * var(--scale));
max-width: max-content;
}
Expand Down

0 comments on commit 1ffe029

Please sign in to comment.