From ae251cd7c390e1cb504c154528e931ee5eab67a8 Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Wed, 3 Jun 2026 22:07:57 -0400 Subject: [PATCH] Fix footer CSS; set Amplify preBuild to npm install; pin TypeScript to 4.9.5 --- amplify.yml | 2 +- src/index.css | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/amplify.yml b/amplify.yml index 20c1233e1..bb977b7df 100644 --- a/amplify.yml +++ b/amplify.yml @@ -4,7 +4,7 @@ applications: phases: preBuild: commands: - - npm ci + - npm install - npm run optimize-images build: commands: diff --git a/src/index.css b/src/index.css index 8bd0e2a45..fe8215069 100644 --- a/src/index.css +++ b/src/index.css @@ -56,10 +56,9 @@ img { .footer { display: flex; justify-content: center; - position: sticky; - top: 0; - color: white; - z-index: 1; + position: relative; + padding: 1rem 0; + color: #000; } .footer-links ul { @@ -81,4 +80,12 @@ img { .footer-links li:hover { background-color: #b2b2b2; +} + +/* Constrain footer images so they don't become massive */ +.footer-links img { + display: inline-block; + max-height: 120px; + width: auto; + vertical-align: middle; } \ No newline at end of file