From 8ad638f49676db0b66fbd555c02fbf768b4f042e Mon Sep 17 00:00:00 2001 From: Jake Charman Date: Fri, 17 Oct 2025 19:11:10 +0100 Subject: [PATCH] Fix some sizing issues --- src/static/style/desktop.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/static/style/desktop.css b/src/static/style/desktop.css index 9db488b..e21be92 100755 --- a/src/static/style/desktop.css +++ b/src/static/style/desktop.css @@ -48,7 +48,7 @@ } #projects{ - align-items: center; + align-items: stretch; justify-content: center; flex-direction: row; flex-wrap: wrap; @@ -58,7 +58,6 @@ .project{ width: 20vw; - height: 25vw; } #top-nav{ @@ -98,18 +97,21 @@ } .yt { - width: 74%; - height: 40vh; + width: calc(66% - 40px); + min-height: 100%; } .gallery { display: flex; - height: 35vh; + height: fit-content; padding: 10px 0; } .gallery * { - height: inherit !important; padding: 0 20px; } + + .gallery>img { + width: calc(33% - 40px); + } }