Skip to content

Commit

Permalink
Hack in CSS fix from wagtail/wagtail#11751
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Mar 21, 2024
1 parent 05e8d96 commit c5910f1
Showing 1 changed file with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,36 @@
text-align: left;
border-radius: 3px;
}

/* Style fixes for footer actions on Wagtail 6.0 - https://github.com/wagtail/wagtail/pull/11751 */
.footer .actions {
width: 100%
}

@media screen and (min-width: 50em) {
.footer .actions {
width:16rem
}
}

.footer .actions--primary {
align-items: stretch;
display: grid;
gap: .5rem;
grid-auto-flow: column
}

.footer .actions--primary>* {
height: auto;
margin-inline-start:0}

@media screen and (min-width: 50em) {
.footer .actions--primary {
min-width:20rem;
width: max-content
}

.footer .actions--primary>:first-child {
min-width: 14rem
}
}

0 comments on commit c5910f1

Please sign in to comment.