Skip to content

Commit 8e0d66b

Browse files
committed
do not force minColumns / minRows
1 parent e45b631 commit 8e0d66b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/panels/lovelace/common/compute-card-grid-size.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ export const computeCardGridSize = (
4545
): CardGridSize => {
4646
const rows = options.rows ?? DEFAULT_GRID_SIZE.rows;
4747
const columns = options.columns ?? DEFAULT_GRID_SIZE.columns;
48-
const minRows = options.min_rows;
48+
const minRows = 0.5;
4949
const maxRows = options.max_rows;
50-
const minColumns = options.min_columns;
50+
const minColumns = 0.5;
5151
const maxColumns = options.max_columns;
5252

5353
const clampedRows =

0 commit comments

Comments
 (0)