Skip to content

Commit

Permalink
feat: tinkering with styling
Browse files Browse the repository at this point in the history
  • Loading branch information
KatoakDR committed Sep 24, 2024
1 parent 302069e commit 34a6a9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions electron/renderer/pages/grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ const GridPage: React.FC = (): ReactNode => {
const windowSize = useWindowSize();
const [bottomBarRef, bottomBarSize] = useMeasure<HTMLInputElement>();
const [gridWidthRef, { width: gridWidth }] = useMeasure<HTMLDivElement>();
const gridHeight = windowSize.height - bottomBarSize.height - 40;
const gridHeight = windowSize.height - bottomBarSize.height - 1;

const contentGridItems = useMemo<Array<GridItemContent>>(() => {
// TODO define a default config set
Expand Down Expand Up @@ -422,7 +422,7 @@ const GridPage: React.FC = (): ReactNode => {
x: 828,
y: 390,
width: 306,
height: 310,
height: 355,
},
});

Expand All @@ -434,7 +434,7 @@ const GridPage: React.FC = (): ReactNode => {
x: 0,
y: 200,
width: 828,
height: 500,
height: 545,
},
});

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

0 comments on commit 34a6a9a

Please sign in to comment.