From d493015fb7382e064633e69f2ce8d4f595991181 Mon Sep 17 00:00:00 2001 From: Kavin Desi Valli <41034356+kavin25@users.noreply.github.com> Date: Wed, 2 Sep 2020 08:26:51 +0530 Subject: [PATCH] Fix Navbar covering heading while using anchor in docs (#3235) * Fix Navbar covering heading while using anchor in docs * reduced number of lines of code from 2 to 1 * Forgot to do tests before. Have done those now with no errors --- src/theme.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/theme.js b/src/theme.js index 5e3c3041..9e17fe16 100644 --- a/src/theme.js +++ b/src/theme.js @@ -318,6 +318,7 @@ const sharedStyles = { }, lineHeight: 1.2, + scrollMarginTop: 120, ':first-child': { '::before': {