Skip to content

Commit

Permalink
⚙️ Sass Breaking Change compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Skywt2003 committed Sep 21, 2024
1 parent 4e54cca commit 9c5f029
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/bento/Map.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ const { lg, sm } = Astro.props;
}

.card {
grid-area: var(--sm);
@apply transition-all bg-center bg-cover bg-no-repeat bg-blend-overlay bg-transparent;
background-image: url("/map.png");
& {
grid-area: var(--sm);
}
@screen lg {
grid-area: var(--lg);
}

@apply transition-all bg-center bg-cover bg-no-repeat bg-blend-overlay bg-transparent;
background-image: url("/map.png");
@media (prefers-color-scheme: dark) {
background-color: rgba(0, 0, 0, 0.7);
}
Expand Down

0 comments on commit 9c5f029

Please sign in to comment.