Skip to content

Commit

Permalink
Merge pull request #3510 from bettyblocks/feat/change-column-overflow…
Browse files Browse the repository at this point in the history
…-STAR-514

Feat/change column overflow star 514
  • Loading branch information
JorisPannekeet authored Oct 22, 2024
2 parents 323ed59 + 69a35b4 commit f0a302d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/column.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
return ColumnComponent;
})(),
styles: (B) => (theme) => {
const { env, mediaMinWidth, Styling } = B;
const isDev = env === 'dev';
const { mediaMinWidth, Styling } = B;
const style = new Styling(theme);
const getSpacing = (idx, device = 'Mobile') =>
idx === '0' ? '0rem' : style.getSpacing(idx, device);
Expand Down Expand Up @@ -124,7 +123,7 @@
borderColor: 'transparent',
borderStyle: 'none',
borderRadius: 0,
overflow: isDev ? 'unset' : 'auto',
overflow: 'auto',
boxSizing: 'border-box',
[`@media ${mediaMinWidth(600)}`]: {
display: ({
Expand Down

0 comments on commit f0a302d

Please sign in to comment.