Open platform to collect and prioritize feedback
Smaller base font size. More post listing changes
Matt Roberts0d3d99682151
diff --git a/public/assets/styles/utility/text.scss b/public/assets/styles/utility/text.scssindex cf6acbc31..273d82252 100644--- a/public/assets/styles/utility/text.scss+++ b/public/assets/styles/utility/text.scss@@ -97,6 +97,10 @@ pre:last-child {font-size: get("font.size.2xs");}+.text-xl {+ font-size: get("font.size.xl");+}+.hover\:underline:hover {text-decoration: underline;}diff --git a/public/assets/styles/variables/_text.scss b/public/assets/styles/variables/_text.scssindex e5f5941df..8d8ca00ef 100644--- a/public/assets/styles/variables/_text.scss+++ b/public/assets/styles/variables/_text.scss@@ -11,7 +11,7 @@ $font: ("2xs": 12px,xs: 13px,sm: 14px,- base: 16px,+ base: 15px,lg: 18px,xl: 22px,"2xl": 26px,diff --git a/public/components/layout/Stack.tsx b/public/components/layout/Stack.tsxindex 562a3feb9..07ab0658e 100644--- a/public/components/layout/Stack.tsx+++ b/public/components/layout/Stack.tsx@@ -25,8 +25,8 @@ const Stack = (props: StackProps, dir: "x" | "y") => {"justify-full": props.justify === "full","justify-center": props.justify === "center","flex-items-start": props.align === "start",- "flex-items-center": props.align === "center" && dir === "x",- "items-end": props.align === "end",+ "flex-items-center": props.align === "center" || (dir === "x" && props.align === undefined),+ "flex-items-end": props.align === "end",})return (diff --git a/public/pages/Home/components/ListPosts.tsx b/public/pages/Home/components/ListPosts.tsxindex 01c50c35d..21895c920 100644--- a/public/pages/Home/components/ListPosts.tsx+++ b/public/pages/Home/components/ListPosts.tsx@@ -12,7 +12,7 @@ interface ListPostsProps {const ListPostItem = (props: { post: Post; user?: CurrentUser; tags: Tag[] }) => {return (- <HStack spacing={4}>+ <HStack spacing={4} align="start"><div><VoteCounter post={props.post} /></div>@@ -55,7 +55,7 @@ export const ListPosts = (props: ListPostsProps) => {}return (- <VStack spacing={4} align="center" divide>+ <VStack spacing={4} divide>{props.posts.map((post) => (<ListPostItem key={post.id} post={post} tags={props.tags.filter((tag) => post.tags.indexOf(tag.slug) >= 0)} />))}