fix: 实时成交表格底部白边(flex-1+bg-white填满容器)

This commit is contained in:
root 2026-02-27 17:09:23 +00:00
parent 55422b0ae0
commit f2ab9e4252

View File

@ -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>
) : ( ) : (