From 2c427b111671cdf962ed8d4d973b01602e6562d1 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sat, 11 Sep 2021 12:28:31 -0400 Subject: [PATCH] better scrolling --- css/characteroverview.scss | 4 +++- css/menupages.scss | 14 ++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/css/characteroverview.scss b/css/characteroverview.scss index 5decab8d6..b72d854aa 100644 --- a/css/characteroverview.scss +++ b/css/characteroverview.scss @@ -6,7 +6,9 @@ */ #character-overview-wrapper { - position: relative; + position: fixed; + top: 0; + right: 0; } #character-overview-container { diff --git a/css/menupages.scss b/css/menupages.scss index d4880840e..ede764446 100644 --- a/css/menupages.scss +++ b/css/menupages.scss @@ -12,18 +12,12 @@ #generic-react-container { padding: 10px; overflow-y: scroll; + -ms-overflow-style: none; /* for Internet Explorer, Edge */ + scrollbar-width: none; /* for Firefox */ } -/* Character Info */ -#character-container { - padding-top: 10px; - position: fixed; -} - -/* World */ -#world-container { - position: fixed; - padding-top: 10px; +#generic-react-container::-webkit-scrollbar { + display: none; /* for Chrome, Safari, and Opera */ } #world-city-name,