Skip to content

Commit

Permalink
fix shitty zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfagun74 committed May 14, 2024
1 parent 42bf223 commit ba18c9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ function Feature({ title, img, video, description }) {
<div className="text--center">
{video ? (
<video
className="w-full max-w-screen-sm rounded-xl zoomable"
className="w-full max-w-screen-sm rounded-xl"
muted
autoPlay
controls
loop
src={video}
/>
Expand Down
4 changes: 0 additions & 4 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,3 @@ img[alt="GameVault+ Banner"] {
font-size: 3.75rem;
line-height: 1;
}

.zoomable {
@apply md:active:scale-[1.5] xl:active:scale-[2] 2xl:active:scale-[2.5] md:active:absolute md:active:mx-auto md:active:my-auto md:active:top-auto md:active:left-0 md:active:bottom-0 md:active:right-0 transition-transform duration-300;
}

0 comments on commit ba18c9e

Please sign in to comment.