Fix styling on buttons

Prevent template buttons from wrapping by consuming more vertical space on middle-sized screens
This commit is contained in:
jude
2023-08-03 18:07:03 +01:00
parent 9405cfcee9
commit a5678e15dc
2 changed files with 61 additions and 20 deletions

View File

@ -593,13 +593,52 @@ li.highlight {
margin-bottom: 0 !important;
}
@media only screen and (max-width: 768px) {
.button-row {
display: flex;
}
.button-row > div {
margin: 2px;
}
.button-row .button-row-reminder {
flex-grow: 0;
}
.button-row-template {
display: flex;
flex-grow: 1;
justify-content: space-between;
}
@media only screen and (max-width: 1408px) {
.button-row {
display: flex;
flex-direction: column;
}
.button-row > button {
.button-row .button-row-reminder {
width: 100%;
margin: 4px;
}
.button-row .button-row-template button {
flex-basis: 0;
flex-grow: 1;
}
.button-row-reminder button {
width: 100%;
}
}
@media only screen and (max-width: 768px) {
.button-row-edit {
display: flex;
flex-direction: column;
}
.button-row-edit > button {
width: 100%;
margin: 4px;
}