Skip to content

Commit

Permalink
[@mantine/core] Grid: fix offset issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrjarun committed Sep 4, 2022
1 parent 7158f14 commit df1bebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-core/src/Grid/Col/Col.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const getColumnWidth = (colSpan: number, columns: number) =>
colSpan ? `${100 / (columns / colSpan)}%` : undefined;

const getColumnOffset = (offset: number, columns: number) =>
offset ? `${100 / (columns / offset)}%` : undefined;
offset ? `${100 / (columns / offset)}%` : 'unset';

function getBreakpointsStyles({
sizes,
Expand Down

0 comments on commit df1bebd

Please sign in to comment.