Make <main> use all the available space in <body>
Otherwise, in a table with only two or three rows, since <main> does not reach the bottom, opening a menu will trigger the scroll due to overflow.
This commit is contained in:
parent
4ae9fc5cfa
commit
cfd7a0c701
|
@ -314,6 +314,7 @@ header nav a[aria-current] {
|
|||
main {
|
||||
padding: 2rem 3rem;
|
||||
overflow-y: scroll;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.input {
|
||||
|
|
Loading…
Reference in New Issue