Skip to content

Commit c51f814

Browse files
committed
fix: update responsive column breakpoints and adjust padding in DnD grid
1 parent 71537a6 commit c51f814

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/shared/hooks/use-responsive-columns/use-responsive-columns.hook.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ export function useResponsiveColumns(
7676
breakpoints = {
7777
800: 2,
7878
1400: 3,
79-
1500: 4,
79+
1600: 4,
80+
2000: 5,
8081
2400: 6,
8182
3000: 7
8283
}

src/shared/ui/virtualized-dnd-grid/virtualized-dnd-grid.shared.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function VirtualizedDndGrid<T extends { uuid: string }>(props: Virtualize
9999
if (!data) return null
100100

101101
return (
102-
<div className={classes.itemWrapper} style={{ padding: 5, margin: 0, width: '100%' }}>
102+
<div className={classes.itemWrapper} style={{ padding: '5px', width: '100%' }}>
103103
{renderItem(data, index)}
104104
</div>
105105
)
@@ -112,9 +112,6 @@ export function VirtualizedDndGrid<T extends { uuid: string }>(props: Virtualize
112112
columnCount={columnCount}
113113
data={items}
114114
ItemContent={ItemWrapper}
115-
style={{
116-
height: '100%'
117-
}}
118115
useWindowScroll={useWindowScroll}
119116
/>
120117
</Box>

0 commit comments

Comments
 (0)