Remove height for comment form card, update page size for index page

This commit is contained in:
Aaron William Po
2023-04-17 21:57:06 -04:00
parent ed4a60c6b8
commit ac90f89dc9
2 changed files with 4 additions and 4 deletions

View File

@@ -46,9 +46,9 @@ const BeerPostCommentsSection: FC<BeerPostCommentsSectionProps> = ({ beerPost })
const sectionRef: MutableRefObject<HTMLDivElement | null> = useRef(null);
return (
<div className="w-full space-y-3">
<div className="card h-96 bg-base-300">
<div className="card-body h-full" ref={sectionRef}>
<div className="w-full space-y-3" ref={sectionRef}>
<div className="card bg-base-300">
<div className="card-body h-full">
{user ? (
<BeerCommentForm beerPost={beerPost} mutate={mutate} />
) : (