diff --git a/admin/src/components/ItemTable.tsx b/admin/src/components/ItemTable.tsx index 97b9f12..b72512b 100644 --- a/admin/src/components/ItemTable.tsx +++ b/admin/src/components/ItemTable.tsx @@ -10,7 +10,6 @@ import { Heading, Icon, Input, - Box, // added } from "@chakra-ui/react"; import { Tooltip } from "@/components/ui/tooltip"; import MyAlert from "./myChakra/MyAlert"; @@ -185,15 +184,9 @@ const ItemTable: React.FC = () => { /> )} - {/* make table content-sized with horizontal scroll if needed */} - - + {/* make table fill available width, like UserTable */} + {!isLoading && ( + @@ -353,7 +346,7 @@ const ItemTable: React.FC = () => { ))} - + )} * LaP = Letzte ausleihende Person ** Dav = Derzeit ausgeliehen von