Skip to content

Commit

Permalink
Merge branch 'hotfix/3.5.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrizsmerino committed Oct 22, 2024
2 parents 8eb31c7 + 8812be7 commit 8053904
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/assets/scss/tools/tools-media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// ------------------
@use "sass:list";
@use "sass:meta";
@use "sass:map";
@use "../settings/settings-breakpoints" as *;

@function contains($list, $item) {
@return list.index($list, $item) != null;
Expand Down Expand Up @@ -35,8 +37,8 @@
@error 'Invalid units provided';
}
} @else if meta.variable-exists(breakpoints) {
@if map-has-key($breakpoints, $breakpoint) {
@media (#{$rule}-#{$dimension}: #{inspect(map-get($breakpoints, $breakpoint))}) {
@if map.has-key($breakpoints, $breakpoint) {
@media (#{$rule}-#{$dimension}: #{meta.inspect(map.get($breakpoints, $breakpoint))}) {
@content;
}
} @else {
Expand Down

0 comments on commit 8053904

Please sign in to comment.