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
No related branches found
No related tags found
No related merge requests found
......@@ -71,10 +71,9 @@ main {
}
.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/√2, aka A4 aspect ratio */
height: 67vw;
/* A4 aspect ratio: √2:1 */
aspect-ratio: 1.4142135623730951;
background-color: #fff;
color: #000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment