fix: make WAF events table fit in viewport

- DataTable: add overflowX auto to TableContainer + minWidth 600
- WAF events: tighten column widths (Time 150, Host 150, IP 140,
  Method 60), add ellipsis+tooltip on Host column, let Rule Message
  expand to fill remaining space

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
fuomag9
2026-03-04 08:26:36 +01:00
parent 54a2a9ea0d
commit edd4e6879f
2 changed files with 19 additions and 16 deletions

View File

@@ -73,8 +73,8 @@ export function DataTable<T>({
}: DataTableProps<T>) {
return (
<Box>
<TableContainer component={Card} variant="outlined">
<Table>
<TableContainer component={Card} variant="outlined" sx={{ overflowX: "auto" }}>
<Table sx={{ minWidth: 600 }}>
<TableHead>
<TableRow>
{columns.map((col) => (