From b434d38285a3d9d7945d7d4e217791aa4ec7d68b Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Mon, 12 Feb 2024 14:26:58 -0800 Subject: [PATCH] fixing various screen-size bugs --- index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index f393945..9aef854 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,7 @@ p { font-family: 'Josefin Sans', sans-serif; + font-size: small; font-weight: 300; /* Make it bold */ } @@ -25,6 +26,10 @@ display: flex; height: 100%; width: 100%; + max-width: 1900px; + max-height: 1200px; + justify-content: center; + align-items: center; } /* Left column */ @@ -35,6 +40,7 @@ /* Middle column */ .mid-col { flex: 0 0 50%; /* 50% width, does not grow or shrink */ + height: 100%; display: flex; flex-direction: column; text-align: center; @@ -133,7 +139,7 @@ } #pngImage { - max-width: 10vw; + max-width: 20vw; max-height: 80vh; }