RowHeight: remove offset by 1 to match new table

This commit is contained in:
Sidney Alcantara
2022-10-24 15:39:58 +11:00
parent e892a371c1
commit bec3165bcc

View File

@@ -12,7 +12,7 @@ import {
} from "@src/atoms/tableScope";
import { DEFAULT_ROW_HEIGHT } from "@src/components/Table";
const ROW_HEIGHTS = [33, 41, 65, 97, 129, 161];
const ROW_HEIGHTS = [32, 40, 64, 96, 128, 160];
export default function RowHeight() {
const theme = useTheme();
@@ -63,7 +63,7 @@ export default function RowHeight() {
<ListSubheader>Row height</ListSubheader>
{ROW_HEIGHTS.map((height) => (
<MenuItem key={height} value={height}>
{height - 1}px
{height}px
</MenuItem>
))}
</TextField>