Commit 6404250d authored by afc163's avatar afc163

remove extra scroll bar, close #532

parent 587c5dd5
...@@ -52,7 +52,7 @@ const ChartCard = ({ ...@@ -52,7 +52,7 @@ const ChartCard = ({
bodyStyle={{ padding: '20px 24px 8px 24px' }} bodyStyle={{ padding: '20px 24px 8px 24px' }}
{...rest} {...rest}
> >
{<Spin spinning={loading}>{content}</Spin>} {<Spin spinning={loading} wrapperClassName={styles.spin}>{content}</Spin>}
</Card> </Card>
); );
}; };
......
...@@ -72,3 +72,7 @@ ...@@ -72,3 +72,7 @@
margin-top: 20px; margin-top: 20px;
} }
} }
.spin :global(.ant-spin-container) {
overflow: visible;
}
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
position: absolute; position: absolute;
bottom: -34px; bottom: -34px;
width: 100%; width: 100%;
& > div { > div {
margin: 0 -5px; margin: 0 -5px;
overflow: hidden; overflow: hidden;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment