I wonder if it would be possible to implement a vertical alignment of the switches instead of being restricted to horizontal movements only. The reason is that e.g. on my smartphone I can consider only a few (say 3) switching options until it protrudes the screen. What do you think ?
For sure it can be something fancy but also a bit out of standards. Thus I'd like to see some advises for layout, including all what the current solution provides.
It would be nice to show the label at the top, then vertically showing each option using the entire width.
I've tried adding <br>and \n but you seem to be doing a good parsing job.