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

[docs] Add demo for vertical dividers #17457

Merged
merged 5 commits into from
Sep 20, 2019

Conversation

nrkroeker
Copy link
Contributor

@nrkroeker nrkroeker commented Sep 16, 2019

Attempt 2 xD

Made a simpler version of the example which is now in toggle buttons and tried to keep it as light as possible. Figured it'd be good to get at least something visible for the vertical functionality so other folks find it easier.

@mui-pr-bot
Copy link

mui-pr-bot commented Sep 16, 2019

No bundle size changes comparing e48aeba...39314ed

Generated by 🚫 dangerJS against 39314ed

@oliviertassinari oliviertassinari added component: divider This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation labels Sep 19, 2019
@oliviertassinari oliviertassinari force-pushed the vertical-divider-demo branch 2 times, most recently from 2dac49f to 3496ab8 Compare September 19, 2019 11:16
@oliviertassinari
Copy link
Member

oliviertassinari commented Sep 19, 2019

@nrkroeker They are a couple of different changes we could explore for this component.

For the vertical support, a flex strength (as in the toggle button) or font size based height (https://ant.design/components/divider/#components-divider-demo-vertical) could work too.

On a different note, the children support of Semantic is interesting: https://react.semantic-ui.com/elements/divider/#types-horizontal.

@oliviertassinari oliviertassinari merged commit 9547c43 into mui:master Sep 20, 2019
@oliviertassinari
Copy link
Member

@nrkroeker Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: divider This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants