Skip to content

Commit

Permalink
fix(switch): increase size
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmatthew committed Oct 18, 2022
1 parent ae369b8 commit 46a2d66
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/assets/css/custom-full.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/css/custom-full.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/css/custom.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/css/custom.css.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ legend {
box-shadow: $input-focus-box-shadow;
}

.form-switch {
padding-left: 3em;
}

.form-switch .form-check-input {
width: 2rem;
margin-left: -3em;
}

.form-switch .form-check-input {
background-color: $gray-500;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 1%29'/%3e%3c/svg%3e");
Expand Down

0 comments on commit 46a2d66

Please sign in to comment.