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; flex-flow: row wrap;
align-items: flex-start; 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> </style>

View File

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

View File

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