Skip to content

Commit

Permalink
fix: align col/row h/w, align small/large margin
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenrikoverland committed Jan 6, 2025
1 parent 8aac277 commit 49b1bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/gridUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ export const MARGIN_PX = [4, 4]

const SM_SCREEN_MIN_ITEM_GRID_HEIGHT = 13 // minimum of ~320px
export const SM_SCREEN_GRID_COLUMNS = 1
export const MARGIN_SM_PX = [0, 16]
export const MARGIN_SM_PX = [4, 4]
export const GRID_PADDING_PX = [0, 0]
// make an assumption about the original item w/h ratio
// assumes grid width of ~1200px at time dashboard was created
const GRID_COL_WIDTH_PX = 10
const GRID_COL_WIDTH_PX = 16
export const GRID_COLUMNS = 60

// Dimensions for getShape
Expand Down

0 comments on commit 49b1bc7

Please sign in to comment.