mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-25 04:40:58 -05:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user