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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}