Skip to content

Commit

Permalink
style(css): remove excess styles and fix inline styles
Browse files Browse the repository at this point in the history
  • Loading branch information
clukhei committed Sep 30, 2024
1 parent 379b0bc commit 577a583
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions src/components/Checkbox/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,11 @@ input {
display: flex;
margin-bottom: var(--sgds-spacer-2);
min-height: 2rem;
flex-direction: row;
}

.form-check .form-check-input {
margin-right: var(--sgds-form-input-margin-right);
}
.form-check-label-container{
display: flex;
flex-direction: column;
}

.form-check-input {
appearance: none;
background-color: var(--sgds-form-bg);
Expand Down Expand Up @@ -78,7 +72,7 @@ input {
color: var(--sgds-form-invalid-color);
}
.form-check-inline {
display: inline-block;
display: inline-flex;
vertical-align: text-top;
margin-right: var(--sgds-form-inline-margin-right);
margin-bottom: 0;
Expand Down
1 change: 0 additions & 1 deletion src/components/Radio/radio.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ input {
display: flex;
margin-bottom: var(--sgds-spacer-2);
min-height: 2rem;
flex-direction: row;
}

.form-check .form-check-input {
Expand Down

0 comments on commit 577a583

Please sign in to comment.