mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-26 02:49:16 -04:00
Style spacing for sticky footers
Sticky footers need slightly different spacing to sticky headers so they look balanced. They can’t just inherit the same spacing.
This commit is contained in:
@@ -40,7 +40,15 @@
|
||||
|
||||
.js-stick-at-bottom-when-scrolling {
|
||||
|
||||
$vertical-padding: $gutter * 2 / 3;
|
||||
|
||||
transition: bottom 0.1s ease-out, box-shadow 1s ease-in-out;
|
||||
padding: $vertical-padding 0 $vertical-padding $gutter-half;
|
||||
margin-top: -$vertical-padding;
|
||||
|
||||
.page-footer {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user