material-components-web
material-components-web copied to clipboard
[mdc-top-app-bar] Menu and action items overlaps in collapsed short variant. (Doc issue)
Hello!
It is missed in the mdc-top-app-bar doc, that .mdc-top-app-bar--short-has-action-item class should be added to the root element to have the correct collapse transformation without action and menu button overlapping.
Adding this information in doc could save some debugging time for others.
Thanks.
Do you have a Glitch/Codepen demo to verify? Thanks!
Don't have any, but you can check it on mdc demo example https://material-components.github.io/material-components-web-catalog/#/component/top-app-bar/short-collapsed
Feel free to send a PR to add to https://github.com/material-components/material-components-web/blob/master/packages/mdc-top-app-bar/README.md#css-classes. Thanks!