fix: correct sass map has-key parameter (#13132)

fix: correct map.has-key using
This commit is contained in:
wonderl17
2023-06-22 15:55:50 +08:00
committed by GitHub
parent 8558957b28
commit 06f974b311

View File

@@ -23,7 +23,7 @@ $breakpoints: (
) !default;
@mixin respond-to($breakpoint) {
@if #{map.has-key($breakpoints, $breakpoints)} {
@if #{map.has-key($breakpoints, $breakpoint)} {
@media screen and (min-width: #{map.get($breakpoints, $breakpoint)}) {
@content;
}