google / google/material-design-lite

layout__drawer bug with sticky footer

Open
#4,186 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

If we want to use a sticky footer applying this
body{
display: flex;
min-height: 100vh;
flex-direction: column;
}

main{
flex: 1 0 auto;
}

the drawer and obfuscator shows the content below because this rule
.mdl-layout__drawer.is-visible~.mdl-layout__content.mdl-layout__content{overflow:hidden}
its not sufficient, its necesary to add the property overflow:hidden to all .mdl-layout{overflow:hidden}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.