From fa92729288207e8b1cc33154002e71318c40c709 Mon Sep 17 00:00:00 2001 From: sammy-ette Date: Sun, 22 Jun 2025 19:46:22 -0400 Subject: [PATCH] fix: make images smaller --- website/src/pages/index.gleam | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/src/pages/index.gleam b/website/src/pages/index.gleam index 29f86eea..862aa109 100644 --- a/website/src/pages/index.gleam +++ b/website/src/pages/index.gleam @@ -173,12 +173,12 @@ pub fn page() -> element.Element(a) { ), ], [ - html.div([attribute.class("flex flex-col gap-2")], [ + html.div([attribute.class("flex flex-col gap-2 items-center")], [ html.img([ attribute.src( "https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/1200px-Tux.svg.png", ), - attribute.class("h-36"), + attribute.class("h-28 w-fit"), ]), button( "Linux (64-bit)", @@ -186,12 +186,12 @@ pub fn page() -> element.Element(a) { download_link("linux", "amd64"), ), ]), - html.div([attribute.class("flex flex-col gap-2")], [ + html.div([attribute.class("flex flex-col gap-2 items-center")], [ html.img([ attribute.src( "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/Unofficial_Windows_logo_variant_-_2002%E2%80%932012_%28Multicolored%29.svg/2321px-Unofficial_Windows_logo_variant_-_2002%E2%80%932012_%28Multicolored%29.svg.png", ), - attribute.class("h-36"), + attribute.class("h-28 h-28 w-fit"), ]), button( "Windows (64-bit)", @@ -210,7 +210,7 @@ pub fn page() -> element.Element(a) { attribute.src( "https://images.seeklogo.com/logo-png/38/2/apple-mac-os-logo-png_seeklogo-381401.png", ), - attribute.class("h-36"), + attribute.class("h-28 h-28 w-fit"), ]), button( "MacOS (64-bit)", @@ -230,7 +230,7 @@ pub fn page() -> element.Element(a) { attribute.src( "https://images.seeklogo.com/logo-png/38/2/apple-mac-os-logo-png_seeklogo-381401.png", ), - attribute.class("h-36"), + attribute.class("h-28 h-28 w-fit"), ]), button( "MacOS (ARM)",