Skip to content

Commit

Permalink
make table width 100pc
Browse files Browse the repository at this point in the history
  • Loading branch information
serdec committed Nov 13, 2023
1 parent 6ef0617 commit 58dd194
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ const TableOuterContainer = styled.div`
display: flex;
flex-direction: column;
gap: 1rem;
width: 100%;
`;

const MobileActions = styled.div`
Expand Down Expand Up @@ -469,7 +470,7 @@ const Table = forwardRef<HTMLTableElement, TableProps>(
return (
<TableOuterContainer>
<MobileActions>
{isSelectable && (
{true && (
<Checkbox
label="Select All"
checked={selectedIds.length === rows.length}
Expand Down Expand Up @@ -521,6 +522,7 @@ const Table = forwardRef<HTMLTableElement, TableProps>(
);

const StyledTable = styled.table`
width: 100%;
border-spacing: 0;
overflow: hidden;
${({ theme }) => `
Expand Down

0 comments on commit 58dd194

Please sign in to comment.