From 107388868053ac8277105770cfc660701bff2a8c Mon Sep 17 00:00:00 2001 From: Emmanuel Florent Date: Thu, 11 Jul 2019 13:25:34 +0200 Subject: [PATCH] doc-theme.css: fix scrolltop border effect --- content/gettingstarted/installation/drivers.md | 3 +-- themes/doc-theme/static/css/doc-theme.css | 8 ++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/content/gettingstarted/installation/drivers.md b/content/gettingstarted/installation/drivers.md index 52de00f..8162b4f 100644 --- a/content/gettingstarted/installation/drivers.md +++ b/content/gettingstarted/installation/drivers.md @@ -21,7 +21,7 @@ All our products will work out of the box for Windows 8/10/+. If using Windows 7 Please download the driver software from the link below. -[Pysense/Pytrack/Pyscan/Expansion Board 3.0 Serial Driver](https://github.com/pycom/pycom-docs/tree/37661883902849b1a931ee273a23ae8e0f3d773e/chapter/pytrackpysense/installation/pycom.inf) +[Pysense/Pytrack/Pyscan/Expansion Board 3.0 Serial Driver](https://raw.githubusercontent.com/pycom/pycom-docs/37661883902849b1a931ee273a23ae8e0f3d773e/chapter/pytrackpysense/installation/pycom.inf) ### Installation @@ -56,4 +56,3 @@ If the installation was successful, you should now see a window specifying that To confirm that the installation was correct, navigate back to the `Device Manager` and click the dropdown for other devices. The warning label should now be gone and Pytrack/Pysense should be installed. ![](/gitbook/assets/win7-8.png) - diff --git a/themes/doc-theme/static/css/doc-theme.css b/themes/doc-theme/static/css/doc-theme.css index bf06346..5e7581e 100644 --- a/themes/doc-theme/static/css/doc-theme.css +++ b/themes/doc-theme/static/css/doc-theme.css @@ -337,10 +337,6 @@ p { /** this gives correct offset when link to anchors */ -*[id]:before { - display: block; - content: " "; - margin-top: -75px; - height: 75px; - visibility: hidden; +html { + scroll-padding-top: 70px; /* height of sticky header */ }