Author: Pavel Djundik (xPaw)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2025-01-27T15:33:11+03:00

Commit: 
https://github.com/php/web-php/commit/5f61eca86e63b9b5440d7f4962089f62beb6ac7f
Raw diff: 
https://github.com/php/web-php/commit/5f61eca86e63b9b5440d7f4962089f62beb6ac7f.diff

Add scroll padding for anchor links (#1214)

Changed paths:
  M  styles/theme-base.css


Diff:

diff --git a/styles/theme-base.css b/styles/theme-base.css
index f2308f58e7..12f900e9a7 100644
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -18,6 +18,7 @@
   --dark-magenta-color: #793862;
   --medium-magenta-color: #AE508D;
   --light-magenta-color: #CF82B1;
+  scroll-padding-top: 4rem;
 }
 
 .clearfix {

Reply via email to