Skip to content

Commit

Permalink
Update SponsorMasonryGrid #2
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperBlue committed Jan 5, 2024
1 parent 2e2aa29 commit b6dfcdd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ const SponsorMasonryGrid = ({sponsorsData, displaySeasonValue}) => {
display : 'flex',
position : 'relative',
gridArea : `span 1 / span ${sponsorItem.metadata.columnWeight > numGridColumns ? numGridColumns : sponsorItem.metadata.columnWeight}`,
overflow : 'hidden',
backgroundColor : (() => {
if (sponsorItem.metadata.hasTransparency) return '#eeeeee';
const [r, g, b] = sponsorItem.metadata.palette[0];
Expand Down

0 comments on commit b6dfcdd

Please sign in to comment.