From adcd13f6dd406b8081b81586382e05544496cacc Mon Sep 17 00:00:00 2001 From: thollander Date: Tue, 23 Apr 2019 23:48:45 +0200 Subject: [PATCH] Fix the shadow in scrollbar of docs sidebar --- site/src/routes/docs/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/routes/docs/index.svelte b/site/src/routes/docs/index.svelte index 07cd1fa191..1dd51db502 100644 --- a/site/src/routes/docs/index.svelte +++ b/site/src/routes/docs/index.svelte @@ -117,7 +117,7 @@ position: absolute; left: 0; bottom: 1.9em; - width: 100%; + width: calc(100% - 1em); height: 2em; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,1) 100%); pointer-events: none;