Skip to content

Fixed #90 -- Added support for switches.#162

Merged
smithdc1 merged 5 commits into
mainfrom
switches
Nov 5, 2023
Merged

Fixed #90 -- Added support for switches.#162
smithdc1 merged 5 commits into
mainfrom
switches

Conversation

@smithdc1

@smithdc1 smithdc1 commented Nov 4, 2023

Copy link
Copy Markdown
Member

Added support for bootstrap5 switches.
https://getbootstrap.com/docs/5.1/forms/checks-radios/#switches

Here's how it looks on standard (vertical?) forms. Alignment seems ok to other inputs.
image

I need to investigate Horizontal forms.

image

I was expecting it to be more like this (with offsets). But that doesn't look quite right either!

image

Likely need to revisit #51 which was an attempt at fixing this.

@smithdc1 smithdc1 linked an issue Nov 4, 2023 that may be closed by this pull request
@smithdc1

smithdc1 commented Nov 4, 2023

Copy link
Copy Markdown
Member Author

image

This is how it looks now. It's a slightly wider input than for radio/checkboxes so I'm unsure about the alignment.

@smithdc1 smithdc1 merged commit 739f5b7 into main Nov 5, 2023
@smithdc1 smithdc1 deleted the switches branch November 5, 2023 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Switches

1 participant