From 3558fa0fb94c1e25f0411b8efaf81ebe1c5834b3 Mon Sep 17 00:00:00 2001 From: Shahan Nedadahandeh Date: Mon, 2 Jan 2023 14:53:49 -0500 Subject: [PATCH] Fixed tooltip being hidden (#132) ![image](/attachments/c039f4ca-3691-4c2a-b7b0-0552be97759d) https://fix-tooltip-csc-class-profile-staging-snedadah.k8s.csclub.cloud/academics Co-authored-by: shahanneda Reviewed-on: https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile/pulls/132 Reviewed-by: Mark Chiu --- components/ComponentWrapper.module.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/components/ComponentWrapper.module.css b/components/ComponentWrapper.module.css index 70da553..ade12b9 100644 --- a/components/ComponentWrapper.module.css +++ b/components/ComponentWrapper.module.css @@ -75,12 +75,15 @@ .horizontalScrollOnMobile { overflow-x: scroll; } + + .internalWrapper { + /* Without this, some graphs will have an horizontal scroll bar thats not needed */ + overflow-x: auto; + } } .internalWrapper { padding: calc(20rem / 16); - /* Without this, some graphs will have an horizontal scroll bar thats not needed */ - overflow-x: auto; } .internalWrapper p {