Skip to content

Commit

Permalink
fix(scss-breakpoints): map.get -> map-get
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin authored and seaerchin committed Oct 3, 2023
1 parent 75b4e90 commit 3d72618
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/styles/isomer-template/components/homepage/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
padding: 3rem 1.5rem;
}

@media screen and (min-width: map.get($breakpoints, "md")) {
@media screen and (min-width: map-get($breakpoints, "md")) {
.hero-floating {
padding: 3rem;
}
Expand Down Expand Up @@ -60,7 +60,7 @@
width: 50%;
}

@media screen and (min-width: map.get($breakpoints, "xl")) {
@media screen and (min-width: map-get($breakpoints, "xl")) {
.hero-side-sm {
width: 50%;
}
Expand All @@ -80,7 +80,7 @@
}
}

@media screen and ((max-width: map.get($breakpoints, "xl") - 1)) {
@media screen and ((max-width: (map-get($breakpoints, "xl") - 1))) {
.hero-side-sm {
width: 33%;
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/isomer-template/theme/_breakpoints.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ $breakpoints: (
);

// Maximum width of site contents
$container-max-width: map.get($breakpoints, "xl");
$container-max-width: map-get($breakpoints, "xl");
4 changes: 2 additions & 2 deletions src/styles/isomer-template/theme/_display.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use "sass:map";

@media screen and (min-width: map.get($breakpoints, "lg")),
screen and (max-width: (map.get($breakpoints, "md") - 1)) {
@media screen and (min-width: map-get($breakpoints, "lg")),
screen and (max-width: (map-get($breakpoints, "md") - 1)) {
.is-visible-tablet-only {
display: none !important;
}
Expand Down

0 comments on commit 3d72618

Please sign in to comment.