fix: Only show scrollbars on settings table when neccessary

This commit is contained in:
Tom Moor
2024-04-21 11:54:50 -04:00
parent 21537b069b
commit d80ef8329b

View File

@@ -116,7 +116,7 @@ function Table({
const showPlaceholder = isLoading && data.length === 0; const showPlaceholder = isLoading && data.length === 0;
return ( return (
<div style={{ overflowX: "scroll" }}> <div style={{ overflowX: "auto" }}>
<Anchor ref={topRef} /> <Anchor ref={topRef} />
<InnerTable {...getTableProps()}> <InnerTable {...getTableProps()}>
<thead> <thead>