From 9f8aa510db0c51369f87de24d106d78556a3a696 Mon Sep 17 00:00:00 2001 From: sthag Date: Sun, 11 Aug 2024 21:40:02 +0200 Subject: [PATCH] fix: better overflow for gates --- source/style/modules/portal/_portal_module.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/style/modules/portal/_portal_module.scss b/source/style/modules/portal/_portal_module.scss index 8cb116f..6a1e519 100644 --- a/source/style/modules/portal/_portal_module.scss +++ b/source/style/modules/portal/_portal_module.scss @@ -9,6 +9,7 @@ $portal_icon_size: 64px; .portal { display: flex; + overflow: hidden; height: 100vh; } @@ -18,8 +19,8 @@ $portal_icon_size: 64px; align-items: center; padding-right: $portal_margin; padding-left: $portal_margin; - // overflow-x: hidden; - // overflow-y: auto; + overflow-x: hidden; + overflow-y: auto; transition: flex 500ms cubic-bezier(0, 0, 0.2, 1.4), background 800ms ease; &:hover { @@ -55,7 +56,7 @@ $portal_icon_size: 64px; .portal__link { display: block; position: relative; - width: $portal_link_size; + max-width: $portal_link_size; height: $portal_link_size; margin: 0 auto; border-width: 1px;