Move split layout

This commit is contained in:
Gregory Schier
2026-03-12 14:00:29 -07:00
parent 0b7705d915
commit 7e7faa69df
25 changed files with 113 additions and 84 deletions

View File

@@ -12,15 +12,16 @@ import classNames from 'classnames';
interface Props {
exchanges: HttpExchange[];
style?: React.CSSProperties;
}
export function ExchangesTable({ exchanges }: Props) {
export function ExchangesTable({ exchanges, style }: Props) {
if (exchanges.length === 0) {
return <p className="text-text-subtlest text-sm">No traffic yet</p>;
}
return (
<Table scrollable className="px-2">
<Table scrollable className="px-2" style={style}>
<TableHead>
<TableRow>
<TableHeaderCell>Method</TableHeaderCell>