chore(style): use english comment and fix typo (#4430)

This commit is contained in:
btea
2021-11-21 05:20:12 -06:00
committed by GitHub
parent fa64145d71
commit 57f9da5502

View File

@@ -5,13 +5,13 @@
// Break-points
@mixin res($key, $map: $breakpoints) {
// 循环断点Map,如果存在则返回
// loop breakpoint Map, return if present
@if map-has-key($map, $key) {
@media only screen and #{unquote(map-get($map, $key))} {
@content;
}
} @else {
@warn "Undefeined points: `#{$map}`";
@warn "Undefined points: `#{$map}`";
}
}