fix(style): classes for hiding elements (#6217)

This commit is contained in:
Alan Wang
2022-02-22 17:55:54 +08:00
committed by GitHub
parent 124bc0d03e
commit 00c855d927

View File

@@ -1300,15 +1300,15 @@ $breakpoints: (
) !default;
$breakpoints-spec: (
'xs-only': '(max-width: #{$sm})',
'xs-only': '(max-width: #{$sm - 1})',
'sm-and-up': '(min-width: #{$sm})',
'sm-only': '(min-width: #{$sm}) and (max-width: #{$md})',
'sm-and-down': '(max-width: #{$md})',
'sm-only': '(min-width: #{$sm}) and (max-width: #{$md - 1})',
'sm-and-down': '(max-width: #{$md - 1})',
'md-and-up': '(min-width: #{$md})',
'md-only': '(min-width: #{$md}) and (max-width: #{$lg})',
'md-and-down': '(max-width: #{$lg})',
'md-only': '(min-width: #{$md}) and (max-width: #{$lg - 1})',
'md-and-down': '(max-width: #{$lg - 1})',
'lg-and-up': '(min-width: #{$lg})',
'lg-only': '(min-width: #{$lg}) and (max-width: #{$xl})',
'lg-and-down': '(max-width: #{$xl})',
'lg-only': '(min-width: #{$lg}) and (max-width: #{$xl - 1})',
'lg-and-down': '(max-width: #{$xl - 1})',
'xl-only': '(min-width: #{$xl})',
) !default;