mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-28 16:06:41 +01:00
RowHeight: remove offset by 1 to match new table
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user