[web-php] master: Fix padding on global mega footer
| From: | Matt Stauffer via Derick Rethans | Date: | Mon, 02 Nov 2026 12:13:07 +0000 |
| Subject: | [web-php] master: Fix padding on global mega footer | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-34153@lists.php.net to get a copy of this message | ||
Author: Matt Stauffer (mattstauffer)
Committer: Derick Rethans (derickr)
Date: 2026-11-02T12:13:03Z
Commit: https://github.com/php/web-php/commit/f7fab34b9c3c71555d40a10605d02fa33e033782
Raw diff: https://github.com/php/web-php/commit/f7fab34b9c3c71555d40a10605d02fa33e033782.diff
Fix padding on global mega footer
Changed paths:
M public/styles/shared-footer.css
Diff:
diff --git a/public/styles/shared-footer.css b/public/styles/shared-footer.css
index 495571c2e9..3f0de86d6c 100644
--- a/public/styles/shared-footer.css
+++ b/public/styles/shared-footer.css
@@ -34,7 +34,7 @@
width: auto;
max-width: none;
margin-inline: auto;
- padding-inline: 0;
+ padding-inline: 1.5rem;
padding-top: 4rem;
padding-bottom: 2rem;
box-sizing: border-box;
@@ -120,6 +120,8 @@
display: inline-flex;
align-items: center;
justify-content: center;
+ box-sizing: border-box;
+ width: 100%;
min-height: 2.5rem;
padding-inline: 1.25rem;
font-size: 0.875rem;
@@ -221,6 +223,12 @@
/* --- responsive --------------------------------------------------------- */
+@media (min-width: 40rem) {
+ .php-footer .button-primary {
+ width: auto;
+ }
+}
+
@media (min-width: 48rem) {
.php-footer .footer-links-grid {
display: grid;