Skip to content

Commit

Permalink
Merge pull request #1983 from IDEMSInternational/fix/checkbox-style-r…
Browse files Browse the repository at this point in the history
…ectangle

Fix: checkbox width shrinking issue
  • Loading branch information
esmeetewinkel authored Jul 19, 2023
2 parents 991a333 + baa7e20 commit ae4edd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
--border-width: var(--checkbox-border-width);
--background: var(--ion-color-primary-contrast);
--border-radius: var(--checkbox-border-radius);
--size: var(--checkbox-border-size);
--size: var(--checkbox-size);
margin: 0 var(--small-margin);
min-width: var(--checkbox-size);
}

label {
Expand Down
2 changes: 1 addition & 1 deletion src/theme/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
// Checkbox //
--checkbox-border-width: 2px;
--checkbox-border-radius: 5px;
--checkbox-border-size: 39px;
--checkbox-size: 39px;
--checkbox-label-max-width: 290px;

// Text box //
Expand Down

0 comments on commit ae4edd1

Please sign in to comment.