File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,9 @@ export const Sponsors: React.FunctionComponent<ISponsorsProps> = (props: React.P
7575 href = { sponsor . url }
7676 title = { sponsor . title }
7777 className = "mt-6 col-span-1 flex justify-center" >
78- < img className = { sponsor . class || "h-12" } src = { sponsor . image } alt = { sponsor . alt } />
78+ < img className = { sponsor . height ? "" : "h-12" } style = { {
79+ height : sponsor . height || undefined
80+ } } src = { sponsor . image } alt = { sponsor . alt } />
7981 </ a >
8082 ) )
8183 }
Original file line number Diff line number Diff line change 2828 "image" : " /assets/sponsors/coderabbit-dark.svg" ,
2929 "id" : " CodeRabbit" ,
3030 "alt" : " CodeRabbit - AI Code Reviews" ,
31- "class " : " h-[ 35px] " ,
31+ "height " : " 35px" ,
3232 "active" : true
3333 },
3434 {
6161 "image" : " /struyf-consulting.webp" ,
6262 "id" : " Struyf-Consulting" ,
6363 "alt" : " Struyf Consulting" ,
64- "class " : " h-[ 25px] " ,
64+ "height " : " 25px" ,
6565 "active" : true
6666 }
6767 ]
You can’t perform that action at this time.
0 commit comments