Fixed button style by changing to proper MUI Button

This commit is contained in:
2022-08-23 09:01:12 -05:00
parent 2b47031f64
commit 84b1c6f610

View File

@ -691,15 +691,11 @@ function EntityList({table}: Props): JSX.Element
The The
<strong>{` ${selectedIds.length.toLocaleString()} `}</strong> <strong>{` ${selectedIds.length.toLocaleString()} `}</strong>
records on this page are selected. records on this page are selected.
<button <Button onClick={() => setSelectFullFilterState("filter")}>
type="button"
onClick={() => setSelectFullFilterState("filter")}
className="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButtonBase-root css-knwngq-MuiButtonBase-root-MuiButton-root"
>
Select all Select all
{` ${totalRecords.toLocaleString()} `} {` ${totalRecords.toLocaleString()} `}
records matching this query records matching this query
</button> </Button>
</div> </div>
) )
} }
@ -709,15 +705,11 @@ function EntityList({table}: Props): JSX.Element
All All
<strong>{` ${totalRecords.toLocaleString()} `}</strong> <strong>{` ${totalRecords.toLocaleString()} `}</strong>
records matching this query are selected. records matching this query are selected.
<button <Button onClick={() => setSelectFullFilterState("checked")}>
type="button"
onClick={() => setSelectFullFilterState("checked")}
className="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButtonBase-root css-knwngq-MuiButtonBase-root-MuiButton-root"
>
Select the Select the
{` ${selectedIds.length.toLocaleString()} `} {` ${selectedIds.length.toLocaleString()} `}
records on this page records on this page
</button> </Button>
</div> </div>
) )
} }