Skip to content

Commit 34a6a9a

Browse files
committed
feat: tinkering with styling
1 parent 302069e commit 34a6a9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

electron/renderer/pages/grid.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ const GridPage: React.FC = (): ReactNode => {
345345
const windowSize = useWindowSize();
346346
const [bottomBarRef, bottomBarSize] = useMeasure<HTMLInputElement>();
347347
const [gridWidthRef, { width: gridWidth }] = useMeasure<HTMLDivElement>();
348-
const gridHeight = windowSize.height - bottomBarSize.height - 40;
348+
const gridHeight = windowSize.height - bottomBarSize.height - 1;
349349

350350
const contentGridItems = useMemo<Array<GridItemContent>>(() => {
351351
// TODO define a default config set
@@ -422,7 +422,7 @@ const GridPage: React.FC = (): ReactNode => {
422422
x: 828,
423423
y: 390,
424424
width: 306,
425-
height: 310,
425+
height: 355,
426426
},
427427
});
428428

@@ -434,7 +434,7 @@ const GridPage: React.FC = (): ReactNode => {
434434
x: 0,
435435
y: 200,
436436
width: 828,
437-
height: 500,
437+
height: 545,
438438
},
439439
});
440440

@@ -525,7 +525,7 @@ const GridPage: React.FC = (): ReactNode => {
525525
responsive={[]}
526526
css={{ height: '100%', maxWidth: 'unset' }}
527527
>
528-
<EuiPageTemplate.Section grow={true}>
528+
<EuiPageTemplate.Section grow={true} paddingSize="none">
529529
<div ref={gridWidthRef}>
530530
<GridNoSSR
531531
boundary={{

0 commit comments

Comments
 (0)