From 53718193795b440292fc1046a1172543e366f3ad Mon Sep 17 00:00:00 2001 From: Lais Portugal Date: Mon, 16 Dec 2024 16:15:54 +0000 Subject: [PATCH] Remove added test Id from globalCss --- .../suite-base/src/components/GlobalCss.tsx | 84 +++++++++---------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/packages/suite-base/src/components/GlobalCss.tsx b/packages/suite-base/src/components/GlobalCss.tsx index ef5bdfafa0..767498da94 100644 --- a/packages/suite-base/src/components/GlobalCss.tsx +++ b/packages/suite-base/src/components/GlobalCss.tsx @@ -13,50 +13,48 @@ export default function GlobalCss(): React.JSX.Element { const theme = useTheme(); return ( -
- -
+ // Prevent scroll "bouncing" since the app workspace is not scrollable. Allows individual + // scrollable elements to be scrolled without the whole page moving (even if they don't + // preventDefault on scroll events). + overscrollBehavior: "none", + overflow: "hidden", + }, + "#root": { + height: "100%", + width: "100%", + display: "flex", + flexDirection: "column", + position: "relative", + flex: "1 1 100%", + outline: "none", + overflow: "hidden", + zIndex: 0, + }, + }} + /> ); }