-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[Divider] Add vertical support #17063
[Divider] Add vertical support #17063
Conversation
Details of bundle changes.Comparing: 10ed7cf...b2e25ff
|
57c8781
to
b2e25ff
Compare
Nice. It would be good to have a demo on the Divider page itself. |
@mbrookes I agree, this would help. I have seen a high volume of traffic on https://stackoverflow.com/questions/571900/is-there-a-vr-vertical-rule-in-html (+++k views). Do you have an idea on the demo content? |
Not specifically. I recall a dashboard layout that made good use of it, but I doubt I'll find it again. I'll keep an eye out for a good use-case example. I din't think we need to hold back this PR for it, as long as we remember to come back to it. |
Alright, let's keep the "ready to ship" flag then. I will also keep this in the back of my head. |
@oliviertassinari If you're still looking for suggestions, here's a good example of vertical dividers in the wild 😄 my team's designers like to put vertical dividers in toolbars all throughout our product so I'm glad to now have the functionality in a preexisting MUI component. |
@nrkroeker Thanks for sharing. The alternative solution would be to customize the toggle button group to reproduce the same UI. |
@oliviertassinari something like this? |
@nrkroeker Sweeeet! Would you like to submit a PR with that as a customization demo for the ToggleButton page? |
@mbrookes Of course! I didn't want to do so preemptively in case y'all had specific guidelines for styling/structure within demos, but I can get it into a PR probably later tonight. |
@nrkroeker Looks great, with a few simplifications: https://codesandbox.io/s/material-demo-divider-76sg3. |
No description provided.