From 594a9d9a96d09e419dcb1c6589c40d073218b61b Mon Sep 17 00:00:00 2001 From: Ned Twigg Date: Mon, 2 Nov 2026 14:08:54 -0800 Subject: [PATCH] Right-align the language buttons in the hero The fixed-width row with justify-between suited four buttons. With two, py and jvm got pushed to opposite edges. Co-Authored-By: Claude Opus 5.5 --- selfie.dev/src/components/ButtonList.tsx | 9 +++++---- selfie.dev/src/components/HeroDemoGif.tsx | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/selfie.dev/src/components/ButtonList.tsx b/selfie.dev/src/components/ButtonList.tsx index 986dce89..acc4b75b 100644 --- a/selfie.dev/src/components/ButtonList.tsx +++ b/selfie.dev/src/components/ButtonList.tsx @@ -13,10 +13,11 @@ export function ButtonList() { "align-center", "flex", "flex-row", - "justify-between", - "wide-phone:w-[220px]", - "tablet:w-[328px]", - "desktop:w-[490px]" + "justify-end", + "gap-[10px]", + "wide-phone:gap-[15px]", + "tablet:gap-[12px]", + "desktop:gap-[17px]" )} > diff --git a/selfie.dev/src/components/HeroDemoGif.tsx b/selfie.dev/src/components/HeroDemoGif.tsx index a76f8776..4a308d15 100644 --- a/selfie.dev/src/components/HeroDemoGif.tsx +++ b/selfie.dev/src/components/HeroDemoGif.tsx @@ -67,10 +67,11 @@ export function ButtonList() { "align-center", "flex", "flex-row", - "justify-between", - "wide-phone:w-[220px]", - "tablet:w-[328px]", - "desktop:w-[490px]" + "justify-end", + "gap-[10px]", + "wide-phone:gap-[15px]", + "tablet:gap-[12px]", + "desktop:gap-[17px]" )} >