From 443268fd1dc0545049a06d3e194fa7a920ed4fd0 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 2 Jul 2019 23:28:07 -0400 Subject: [PATCH] fix scrolldown height for permalinks --- wiki/README.md | 6 ++++++ wiki/index.php | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/wiki/README.md b/wiki/README.md index 7fa99e6..617dea0 100644 --- a/wiki/README.md +++ b/wiki/README.md @@ -23,6 +23,12 @@ cp template.md my-new-page.md * edit as needed! +* test your changes with a local php server +```sh +composer install +php -S localhost:9000 +``` + * commit your changes and [create a pull request](https://tildegit.org/team/site/pulls) :) ```sh git add --all diff --git a/wiki/index.php b/wiki/index.php index 962e66c..6f78a8f 100644 --- a/wiki/index.php +++ b/wiki/index.php @@ -6,8 +6,8 @@ $additional_head = " :target:before { content:\"\"; display:block; - height:90px; /* fixed header height*/ - margin:-90px 0 0; /* negative fixed header height */ + height:50px; /* fixed header height*/ + margin:-50px 0 0; /* negative fixed header height */ }