Skip to content

Commit

Permalink
Merge pull request #182 from BibliothecaDAO/main
Browse files Browse the repository at this point in the history
test image pixelated class
  • Loading branch information
RedBeardEth authored Mar 30, 2024
2 parents a97be2a + 8a37a30 commit ef04cd1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const L2ERC721Card = ({
<Image
src={token.image}
alt={token.name ?? `beasts-${token.token_id}`}
className={isGrid ? "mx-auto" : ""}
className={'disable-blur ' + isGrid ? "mx-auto disable-blur" : ""}
width={imageSize}
height={imageSize}
/>
Expand Down
5 changes: 5 additions & 0 deletions config/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,8 @@ body::-webkit-scrollbar-thumb,
svg image {
image-rendering: pixelated;
}
@layer components {
.disable-blur{
image-rendering: pixelated;
}
}

0 comments on commit ef04cd1

Please sign in to comment.