Skip to content

feat(BBBToggle): add fullWidth prop to spread left/right-labelled rows - #113

Merged
Arthurk12 merged 1 commit into
bigbluebutton:developfrom
guiiBecker:feat/toggle-full-width
Oct 26, 2026
Merged

Arthurk12 merged 1 commit into
bigbluebutton:developfrom
guiiBecker:feat/toggle-full-width

Conversation

@guiiBecker

@guiiBecker guiiBecker commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a fullWidth prop to BBBToggle. With textPosition="left" or "right", the row fills its container, putting the text and the switch at opposite ends (left: text at the start, switch at the end; right: switch at the start, text aligned to the end). With top/bottom, or when the prop is unset, the layout doesn't change.

Closes Issue(s)

Closes #112

@Arthurk12
Arthurk12 self-requested a review October 22, 2026 20:46

@Arthurk12 Arthurk12 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider making the fullWidth prop apply for textPosition right too. Currently it only applies to textPosition left:

Image

@guiiBecker
guiiBecker force-pushed the feat/toggle-full-width branch from 8db37f5 to 72e7345 Compare October 26, 2026 12:05
@guiiBecker guiiBecker changed the title feat(BBBToggle): add fullWidth prop to spread a left-labelled row feat(BBBToggle): add fullWidth prop to spread left/right-labelled rows Oct 26, 2026
@Arthurk12
Arthurk12 merged commit cae65d5 into bigbluebutton:develop Oct 26, 2026
2 checks passed
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.

2 participants