Skip to content

Commit

Permalink
fix(slider): classic slider should be 56 pixels wide
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Jan 17, 2022
1 parent c312bc4 commit de0fec4
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/bootstrap/scss/switch/_variables.scss
Expand Up @@ -6,7 +6,6 @@ $switch-border-radius: 9999px !default;
/// @group switch
$switch-font-family: $font-family !default;
$switch-font-size: $font-size-xs !default;
$switch-line-height: $line-height !default;

$switch-track-size: null !default;
/// Border width of the switch track.
Expand Down
3 changes: 1 addition & 2 deletions packages/classic/scss/switch/_variables.scss
@@ -1,12 +1,11 @@
// Switch
$switch-size: 60px !default;
$switch-size: 56px !default;
$switch-border-radius: 9999px !default;

/// Font family of the switch.
/// @group switch
$switch-font-family: $font-family !default;
$switch-font-size: $font-size-sm !default;
$switch-line-height: $line-height !default;

$switch-track-size: null !default;
/// Border width of the switch track.
Expand Down
2 changes: 1 addition & 1 deletion packages/default/scss/switch/_layout.scss
Expand Up @@ -11,7 +11,7 @@
vertical-align: middle;
font-family: $switch-font-family;
font-size: $switch-font-size;
line-height: $switch-line-height;
line-height: 1;
user-select: none;
text-align: left;
-webkit-touch-callout: none;
Expand Down
1 change: 0 additions & 1 deletion packages/default/scss/switch/_variables.scss
Expand Up @@ -6,7 +6,6 @@ $switch-border-radius: 9999px !default;
/// @group switch
$switch-font-family: $font-family !default;
$switch-font-size: $font-size-xs !default;
$switch-line-height: $line-height !default;

$switch-track-size: null !default;
/// Border width of the switch track.
Expand Down
1 change: 0 additions & 1 deletion packages/material/scss/switch/_variables.scss
Expand Up @@ -6,7 +6,6 @@ $switch-border-radius: $switch-size !default;
/// @group switch
$switch-font-family: $font-family !default;
$switch-font-size: $font-size-xs !default;
$switch-line-height: $line-height !default;

$switch-track-size: 14px !default;
/// Border width of the switch track.
Expand Down

0 comments on commit de0fec4

Please sign in to comment.