Skip to content

Commit

Permalink
fix: remove explicit width for checkbox label
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Nov 27, 2019
1 parent ed1a7fe commit 7efdbd4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/bootstrap/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@ $checkbox-dash-height: $checkbox-size / 10 !default;
$checkbox-dash-width: $checkbox-size - ( $checkbox-border-width * 4 ) !default;
$checkbox-dash-offset-x: $checkbox-border-width * 2 !default;
$checkbox-dash-offset-y: ( $checkbox-size - $checkbox-dash-height ) / 2 !default;
$checkbox-label-width: calc( 100% - #{$checkbox-size} - #{$icon-spacing}) !default;

$checkbox-bg: $input-bg !default;
$checkbox-text: transparent !default;
Expand Down
1 change: 0 additions & 1 deletion packages/default/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@ $checkbox-dash-height: $checkbox-size / 10 !default;
$checkbox-dash-width: $checkbox-size - ( $checkbox-border-width * 4 ) !default;
$checkbox-dash-offset-x: $checkbox-border-width * 2 !default;
$checkbox-dash-offset-y: ( $checkbox-size - $checkbox-dash-height ) / 2 !default;
$checkbox-label-width: calc( 100% - #{$checkbox-size} - #{$icon-spacing}) !default;

$checkbox-bg: $input-bg !default;
$checkbox-text: $input-text !default;
Expand Down
1 change: 0 additions & 1 deletion packages/default/scss/checkbox/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
.k-checkbox-label {
margin: 0;
padding: 0;
width: $checkbox-label-width;
line-height: $checkbox-line-height;
display: inline-flex;
flex-direction: column;
Expand Down
1 change: 0 additions & 1 deletion packages/material/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,6 @@ $checkbox-dash-height: $checkbox-size / 10 !default;
$checkbox-dash-width: $checkbox-size - ( $checkbox-border-width * 4 ) !default;
$checkbox-dash-offset-x: $checkbox-border-width * 2 !default;
$checkbox-dash-offset-y: ( $checkbox-size - $checkbox-dash-height ) / 2 !default;
$checkbox-label-width: calc( 100% - #{$checkbox-size} - #{$icon-spacing}) !default;

$checkbox-bg: null !default;
$checkbox-text: transparent !default;
Expand Down

0 comments on commit 7efdbd4

Please sign in to comment.