Skip to content

Commit

Permalink
Merge pull request #967 from AlejandroSuero/feature/match-boxers-ui
Browse files Browse the repository at this point in the history
fix(pronósticos): images in mobile with no `mask-image`
  • Loading branch information
midudev authored Jul 1, 2024
2 parents a411c04 + b7e80f7 commit df66bd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Pronosticos/Vote.astro
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ votes.forEach((vote) => {
]}
src={`https://cdn.lavelada.dev/matches/title-${combat.id}.webp`}
alt={`Fotografía del combate entre ${boxerNames.join(", ")}`}
style="mask-image: linear-gradient(black 80%, transparent)"
/>
<button
class:list={[
Expand Down
1 change: 1 addition & 0 deletions src/sections/Combat.astro
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const boxerNames = combatData?.boxers ?? []
class="inset-0 h-auto max-h-96 w-full max-w-80 scale-100 object-contain sm:scale-110 lg:max-w-3xl"
src={`https://cdn.lavelada.dev/matches/title-${combatId}.webp`}
alt={`Fotografía del combate entre ${boxerNames.join(", ")}`}
style="mask-image: linear-gradient(black 80%, transparent)"
/>
) : (
<Typography
Expand Down

0 comments on commit df66bd1

Please sign in to comment.