From 044a34c7db20aaf67d378d6236ff29c02c9e1bdb Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Wed, 5 Oct 2022 18:59:38 -0400 Subject: [PATCH] removing scroll bar --- assets/style.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/assets/style.css b/assets/style.css index 98c5e91..e1e370b 100644 --- a/assets/style.css +++ b/assets/style.css @@ -4,6 +4,28 @@ Utilities ======================== */ + + /* ======================== +Disable Scroll Bar - Its ugly +======================== */ +#parent{ + width: 100%; + height: 100%; + overflow: hidden; +} + +#child{ + width: 100%; + height: 100%; + overflow-y: scroll; + padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */ + box-sizing: content-box; /* So the width will be 100% + 17px */ +} + +::-webkit-scrollbar { + display: none; +} + * { box-sizing: border-box; }