From b60514aebc555137e4357c840736134d05ab6bee Mon Sep 17 00:00:00 2001 From: Hyko Date: Wed, 22 Apr 2026 19:48:23 -0400 Subject: [PATCH] style(ui): wrap button children in span with size-aware min-height class --- src/shared/components/Button.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/shared/components/Button.js b/src/shared/components/Button.js index ff0bd4e..2ab8757 100644 --- a/src/shared/components/Button.js +++ b/src/shared/components/Button.js @@ -46,6 +46,12 @@ const Button = ({ lg: '' }; + const textSizes = { + sm: '', + md: 'min-h-4', + lg: '' + }; + const LoadingSpinner = () => (
); @@ -73,7 +79,10 @@ const Button = ({ {Icon && iconPosition === 'left' && ( )} - {children} + + {children} + + {Icon && iconPosition === 'right' && ( )}