style: improve styling of items on board (#504)

style: improve styling of items on board by defining margin depending on screen size, removing general padding on card of items and reducing size of no app icon
This commit is contained in:
Meier Lukas authored and GitHub committed 2024-05-16 18:48:20 +02:00
1 parent 333dc571fa
commit 669a79ef08
3 files changed
+54 -39

No files matched your search

@@ -26,7 +26,9 @@ export const initializeGridstack = ({
newGrid.current = GridStack.init(
{
column: sectionColumnCount,
margin: 10,
margin: Math.round(
Math.max(Math.min(refs.wrapper.current.offsetWidth / 100, 10), 1),
),
cellHeight: 128,
float: true,
alwaysShowResizeHandle: true,