Skip to content

Commit

Permalink
fix: radio checkbox style updates (#1497)
Browse files Browse the repository at this point in the history
* Update radio/checkbox styling
  • Loading branch information
Saad M committed Jun 24, 2019
1 parent 4879f47 commit ecdb4c2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions scss/components/form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ $block: #{$fd-namespace}-form;
.#{$block}__control {
float: left;
vertical-align: middle;
margin-right: fd-space(2);
margin-right: fd-space(3);
@include fd-rtl() {
float: right;
margin-left: fd-space(2);
margin-left: fd-space(3);
margin-right: 0;
}
}
Expand All @@ -90,14 +90,14 @@ $block: #{$fd-namespace}-form;
}
&--inline {
float: left;
margin-right: fd-space(3);
margin-right: fd-space(4);
.#{$block}__label {
width: auto;
}
@include fd-rtl() {
float: right;
margin-right: 0;
margin-left: fd-space(3);
margin-left: fd-space(4);
.#{$block}__label {
width: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion scss/core/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ input[type="radio"],
.#{$fd-namespace}-radio {
border-radius: 50%;
&::after {
$check-size_: 10px;
$check-size_: 8px;
content: "";
border-radius: 50%;
width: $check-size_;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ecdb4c2

Please sign in to comment.