fix: 实时成交表格底部白边(flex-1+bg-white填满容器)
This commit is contained in:
parent
55422b0ae0
commit
f2ab9e4252
@ -100,7 +100,7 @@ function LiveTrades({ symbol }: { symbol: Symbol }) {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{/* 桌面端固定高度内滚,手机端展开不嵌套滚动 */}
|
{/* 桌面端固定高度内滚,手机端展开不嵌套滚动 */}
|
||||||
<div className="lg:overflow-y-auto lg:h-[420px]">
|
<div className="lg:overflow-y-auto lg:h-[420px] flex-1 bg-white">
|
||||||
{loading ? (
|
{loading ? (
|
||||||
<div className="flex items-center justify-center h-24 text-slate-400 text-sm">加载中...</div>
|
<div className="flex items-center justify-center h-24 text-slate-400 text-sm">加载中...</div>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user