File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1- export const container =
2- "flex w-full flex-col bg-card font-mono text-xs mt-10 rounded-md" ;
1+ export const container =
2+ "flex w-full h-full flex-col bg-card font-mono text-xs rounded-md overflow-hidden " ;
33
44export const loadingContainer =
55 "flex h-full items-center justify-center text-xs text-muted-foreground font-mono" ;
66
77export const errorContainer =
88 "flex h-full items-center justify-center text-xs text-destructive font-mono" ;
99
10- export const asksWrapper =
11- "flex flex-1 flex-col justify-end min-h-0 pb-1" ;
10+ export const asksWrapper =
11+ "flex flex-1 flex-col justify-end min-h-0 pb-1 overflow-hidden " ;
1212
13- export const bidsWrapper =
14- "flex flex-1 flex-col pt-1 min-h-0" ;
13+ export const bidsWrapper =
14+ "flex flex-1 flex-col pt-1 min-h-0 overflow-hidden " ;
1515
1616export const headerRow =
1717 "flex w-full px-3 text-[#848E9C] text-xs font-semibold items-center" ;
Original file line number Diff line number Diff line change @@ -46,13 +46,12 @@ export const OrderBook = ({ symbol }: OrderBookProps) => {
4646
4747 return (
4848 < div className = { S . container } >
49- < div className = { S . asksWrapper } >
50- < div className = { S . headerRow } >
49+ < div className = { S . headerRow } >
5150 < span className = { S . colPrice } > Price(USDT)</ span >
5251 < span className = { S . colAmount } > Amount</ span >
5352 < span className = { S . colTotal } > Total</ span >
5453 </ div >
55-
54+ < div className = { S . asksWrapper } >
5655 { asks . map ( ( ask ) => (
5756 < OrderBookRow
5857 key = { ask [ 0 ] }
You can’t perform that action at this time.
0 commit comments