fix: adjust textarea height for poll input

This commit is contained in:
codytseng
2025-07-28 11:25:45 +08:00
parent f480c9e080
commit cd2c48dd5c

View File

@@ -171,7 +171,7 @@ export default function PostContent({
defaultContent={defaultContent}
parentEvent={parentEvent}
onSubmit={() => post()}
className={isPoll ? 'h-20' : 'min-h-52'}
className={isPoll ? 'min-h-20' : 'min-h-52'}
/>
{isPoll && (
<PollEditor