Skip to content

Commit f7fab34

Browse files
mattstaufferderickr
authored andcommitted
Fix padding on global mega footer
1 parent 1d6659b commit f7fab34

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎public/styles/shared-footer.css‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
width: auto;
3535
max-width: none;
3636
margin-inline: auto;
37-
padding-inline: 0;
37+
padding-inline: 1.5rem;
3838
padding-top: 4rem;
3939
padding-bottom: 2rem;
4040
box-sizing: border-box;
@@ -120,6 +120,8 @@
120120
display: inline-flex;
121121
align-items: center;
122122
justify-content: center;
123+
box-sizing: border-box;
124+
width: 100%;
123125
min-height: 2.5rem;
124126
padding-inline: 1.25rem;
125127
font-size: 0.875rem;
@@ -221,6 +223,12 @@
221223

222224
/* --- responsive --------------------------------------------------------- */
223225

226+
@media (min-width: 40rem) {
227+
.php-footer .button-primary {
228+
width: auto;
229+
}
230+
}
231+
224232
@media (min-width: 48rem) {
225233
.php-footer .footer-links-grid {
226234
display: grid;

0 commit comments

Comments
 (0)