Skip to content

Commit

Permalink
fix: Render on input group
Browse files Browse the repository at this point in the history
Fixes #24
  • Loading branch information
palcarazm committed Jul 9, 2022
1 parent 557c059 commit 2ea9801
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions css/bootstrap5-toggle.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@
border-color: #fff;
}

/** Support for input-group
* @author (bryan-brancotte)[https://github.com/bryan-brancotte]
* @see https://github.com/gitbrent/bootstrap4-toggle/issues/32#issuecomment-616974580
*/
.input-group .toggle-on,
.input-group .toggle-off{
position: absolute;
}

.toggle.btn-outline-primary .toggle-handle {
background-color: var(--bs-primary);
border-color: var(--bs-primary);
Expand Down
2 changes: 1 addition & 1 deletion css/bootstrap5-toggle.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ea9801

Please sign in to comment.