Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for vertically centering controls in control card #6930

Open
ggdouglas opened this issue Aug 2, 2024 · 0 comments
Open

Add support for vertically centering controls in control card #6930

ggdouglas opened this issue Aug 2, 2024 · 0 comments

Comments

@ggdouglas
Copy link
Contributor

ggdouglas commented Aug 2, 2024

Environment

@blueprintjs/core: 5.11.0

Feature request

There currently is no way to vertically align controls within a Control card without reaching into Blueprint's internal styles. Having this ability natively in the component (as a prop or other means of customization) would allow for more flexibility when stacking cards (e.g. Radio cards) on top of each other, especially when the card's content has multiple lines of text/subtext.

Examples

Comparison:

Before After
before after

https://codesandbox.io/p/sandbox/center-aligned-radio-card-controls-3kdn5y

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

No branches or pull requests

1 participant