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:
jordi fita mas 2024-10-03 13:58:59 +02:00
parent 4ae9fc5cfa
commit cfd7a0c701
1 changed files with 1 additions and 0 deletions

View File

@ -314,6 +314,7 @@ header nav a[aria-current] {
main {
padding: 2rem 3rem;
overflow-y: scroll;
flex: 1;
}
.input {