From 37f3cad95a19c03cd9197a73d2ff5db526bb7601 Mon Sep 17 00:00:00 2001 From: Greg Hormann Date: Sat, 26 Jun 2021 15:39:06 -0400 Subject: [PATCH] Troubleshoot Page: Take fix header into account This patch isn't perfect, but makes it more likely that it will scroll to the correct location. --- www/css/fpp.css | 16 +++++++++++++++- www/troubleshooting.php | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/www/css/fpp.css b/www/css/fpp.css index 148a8585e..4f13bf09e 100644 --- a/www/css/fpp.css +++ b/www/css/fpp.css @@ -2409,4 +2409,18 @@ body, #footer{ column-count: 4; } -} \ No newline at end of file +} + +a.troubleshoot-anchor { + display: block; + position: relative; + top: -20px; + visibility: hidden; +} + +@media(min-width:991px){ + a.troubleshoot-anchor { + top: -50px; + } + +} diff --git a/www/troubleshooting.php b/www/troubleshooting.php index 6266239df..aaf70071e 100644 --- a/www/troubleshooting.php +++ b/www/troubleshooting.php @@ -37,7 +37,7 @@ $hotLinks .= "
  • $title
  • "; $jsArray[$key] = $title; ?> -

    + .

    Loading...