From 95060ad71d43efae18d510e7510904128b93f3bd Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期日, 28 四月 2024 15:42:02 +0800
Subject: [PATCH] #
---
src/pages/right/index.jsx | 4 ++--
src/pages/base.jsx | 2 +-
src/pages/left/index.jsx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/pages/base.jsx b/src/pages/base.jsx
index 57be20e..3ba28fd 100644
--- a/src/pages/base.jsx
+++ b/src/pages/base.jsx
@@ -14,7 +14,7 @@
const Base = (props) => {
return (
- <div style={{ height: '100%', width: '100%' }}>
+ <div style={{ height: '100%', width: '100%', position: 'relative', overflow: 'hidden' }}>
<Canvas
shadows
gl={{
diff --git a/src/pages/left/index.jsx b/src/pages/left/index.jsx
index 6c5f3c7..ac51b28 100644
--- a/src/pages/left/index.jsx
+++ b/src/pages/left/index.jsx
@@ -28,7 +28,7 @@
}}
className={`absolute top-2 left-2 bottom-2 w-[280px] ${styles.panel}`}
>
- <div className="h-full overflow-auto">
+ <div className="h-full overflow-hidden">
<Panel title="搴撴埧鎯呭喌">
<StockCharts />
</Panel>
diff --git a/src/pages/right/index.jsx b/src/pages/right/index.jsx
index 06ee269..168e2c2 100644
--- a/src/pages/right/index.jsx
+++ b/src/pages/right/index.jsx
@@ -13,7 +13,7 @@
const Right = () => {
const [isExpanded, setIsExpanded] = useState(false);
-
+
const containerAnimation = useSpring({
transform: isExpanded ? 'translate(0%)' : 'translateX(100%)',
config: { precision: 0.01 },
@@ -30,7 +30,7 @@
}}
className={`absolute top-2 w-[280px] right-2 bottom-2 ${styles.panel}`}
>
- <div className="overflow-auto h-full">
+ <div className="overflow-hidden h-full">
<Panel title="鍑哄叆搴撲俊鎭�">
{/* <Allerway /> */}
</Panel>
--
Gitblit v1.9.1