Skip to content

Commit

Permalink
Fix aspect ratio of multi view plots (#2833)
Browse files Browse the repository at this point in the history
* Fix the aspect ratio of multi view plots

* Revert to old aspect ratio formula
  • Loading branch information
sroy3 authored Nov 25, 2022
1 parent fe0796d commit d268fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webview/src/plots/components/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ $resizer-border: 2px dashed $accent-color;
}

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

0 comments on commit d268fef

Please sign in to comment.