Responsiveness improvements

This commit is contained in:
adro 2022-02-21 15:57:54 +01:00
parent a0efbfd06b
commit c23b39fcc2
3 changed files with 24 additions and 18 deletions

View File

@ -48,4 +48,21 @@
flex-flow: row wrap;
align-items: flex-start;
}
body > div > form {
flex-grow: 1;
}
table {
grid-column: 1 / 3;
border-collapse: collapse;
}
.actions {
text-align: center;
}
.actions > form {
display: contents;
}
</style>

View File

@ -6,3 +6,9 @@
<input type="submit" value="Submit">
</fieldset>
</form>
<style>
form {
max-width: max-content;
}
</style>

View File

@ -20,7 +20,7 @@ nav {
fieldset {
display: grid;
grid-template-columns: auto 1fr;
flex-grow: 1;
flex-grow: 999999;
overflow-x: auto;
}
@ -30,29 +30,12 @@ fieldset > label:after {
pointer-events: none;
}
form {
max-width: max-content;
}
input[type=submit] {
grid-column: 1 / 3;
padding: 0.25rem;
cursor: pointer;
}
.actions {
text-align: center;
}
.actions > form {
display: contents;
}
table {
grid-column: 1 / 3;
border-collapse: collapse;
}
legend {
font-weight: bold;
}