Skip to content
Snippets Groups Projects
Commit 88e4f0fd authored by Thomas Schneider's avatar Thomas Schneider
Browse files

frontend: Configure aspect-ratio directly for .preview

parent 21f150af
Branches
Tags
No related merge requests found
...@@ -71,10 +71,9 @@ main { ...@@ -71,10 +71,9 @@ main {
} }
.preview { .preview {
/* TODO: this should all be slightly more dynamic, more the size of a real A4 paper, and the content scaled appropriately */
width: 95vw; width: 95vw;
/* width/√2, aka A4 aspect ratio */ /* A4 aspect ratio: √2:1 */
height: 67vw; aspect-ratio: 1.4142135623730951;
background-color: #fff; background-color: #fff;
color: #000; color: #000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment