From f0b3cc67aa02e68b60ef6ba5dfe74c9cde944cb1 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 9 Aug 2022 14:18:17 -0400 Subject: [PATCH] Add "items-start" support to Stack --- app/soapbox/components/ui/stack/stack.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/soapbox/components/ui/stack/stack.tsx b/app/soapbox/components/ui/stack/stack.tsx index 3398d8df2..bac3ce89b 100644 --- a/app/soapbox/components/ui/stack/stack.tsx +++ b/app/soapbox/components/ui/stack/stack.tsx @@ -21,13 +21,14 @@ const justifyContentOptions = { const alignItemsOptions = { center: 'items-center', + start: 'items-start', }; interface IStack extends React.HTMLAttributes { /** Size of the gap between elements. */ space?: SIZES, /** Horizontal alignment of children. */ - alignItems?: 'center', + alignItems?: 'center' | 'start', /** Vertical alignment of children. */ justifyContent?: 'center', /** Extra class names on the
element. */