File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,23 +31,23 @@ export default function SponsorCard({ sponsor }: SponsorCardProps) {
3131 const captionGapClass = sponsor . captionGapClass ?? "gap-3" ;
3232 const logoWrapperRestClass =
3333 sponsor . logoWrapperClassName ??
34- "justify-start px-4 py-4 bg-white shadow-sm border border-[rgba(255,255,255,0.12)]" ;
34+ "justify-center sm:justify- start px-4 py-4 bg-white shadow-sm border border-[rgba(255,255,255,0.12)]" ;
3535 const imageStyle = {
3636 width : "auto" as const ,
3737 maxWidth : logoMaxWidth ,
3838 height : logoDisplayHeight ,
3939 } ;
4040 const hasDetails = Boolean ( sponsor . contribution || sponsor . notes ) ;
4141 const captionClass = [
42- "flex flex-col items-start text-center" ,
42+ "flex flex-col items-center text-center sm:items-start " ,
4343 captionGapClass ,
4444 ] . join ( " " ) ;
4545 const logoWrapperClass = [
4646 "flex shrink-0 items-center rounded-xl" ,
4747 logoWrapperRestClass ,
4848 ] . join ( " " ) ;
4949 const cardClasses = [
50- "flex flex-col items-start gap-4" ,
50+ "flex flex-col items-center gap-4 sm:items-start " ,
5151 hasDetails ? "sm:flex-row sm:items-start sm:gap-8 sm:flex-1" : "" ,
5252 ] . join ( " " ) ;
5353
You can’t perform that action at this time.
0 commit comments