From f89e5e2e828ed96cedd70fb6525e6572f603d53e Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Thu, 2 Mar 2023 15:09:49 +0100 Subject: [PATCH] Hide horizontal scrollbar on Chrome etc. --- sass/style.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sass/style.scss b/sass/style.scss index e6b5efc..2a91165 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -453,7 +453,13 @@ body.noscroll { gap: 1em; margin-top: 2rem; overflow-x: scroll; + + // Firefox scrollbar-width: none; + // Chrome, Safari, Edge + &::-webkit-scrollbar { + width: 0; + } // `overflow-y: visible` does not work padding: 1rem;