Remove min-height from sticky submit buttons

It makes them get out of alignment with other things in sticky footers.

The problem of buttons getting too close to the bottom of the window can
be fixed with some min-height on the container instead.
This commit is contained in:
Chris Hill-Scott
2019-10-25 15:12:27 +01:00
parent a8722703b8
commit 8a5e7a00dc

View File

@@ -43,6 +43,7 @@ $sticky-padding: $gutter * 2 / 3;
transition: bottom 0.1s ease-out, box-shadow 1s ease-in-out;
padding: $sticky-padding 0 $sticky-padding $gutter-half;
margin-top: -$sticky-padding;
min-height: 40px;
& + .js-stick-at-bottom-when-scrolling {
margin-top: ($sticky-padding * 2) * -1;
@@ -54,7 +55,6 @@ $sticky-padding: $gutter * 2 / 3;
.page-footer {
margin-bottom: 0;
min-height: 50px;
}
.page-footer-delete-link-without-button {