Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
fix banner svg clipping on reduced scaling in some browsers (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisher60 committed Jun 1, 2023
1 parent a5756f6 commit 657fb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export default function Banner() {
</div>
</div>

<div className=" w-screen h-20 overflow-x-hidden mt-[-2px] md:h-48">
<img src={bgImage.src} className="block scale-150 w-screen select-none" alt="Orange, curved background for website banner"/>
<div className="w-screen h-20 overflow-x-hidden mt-[-2px] md:h-48">
<img src={bgImage.src} className="block scale-150 w-screen select-none md:mt-[-80px]" alt="Orange, curved background for website banner"/>
</div>


Expand Down

0 comments on commit 657fb95

Please sign in to comment.