clermont-ici: customize buttons order on mobile (#72719)

This commit is contained in:
Thomas Jund 2022-12-22 11:31:03 +01:00 committed by Gitea
parent 1dff8ba5b2
commit fbcaf1a98d
1 changed files with 18 additions and 0 deletions

View File

@ -570,6 +570,24 @@ div.buttons .cancel-button button {
}
}
// buttons order on mobile
@if $buttons-order or $buttons-alignment {
.quixote:not(#wf-actions) div.buttons {
@media (max-width: $very-small-limit) {
.submit-button {
order: 1;
flex-basis: 100%;
}
.previous-button {
order: 2;
}
.cancel-button {
order: 3;
}
}
}
}
//
// AUTHENTIC
//