Skip to content

Commit

Permalink
add horizontal padding to faces dashboard to make it look better
Browse files Browse the repository at this point in the history
  • Loading branch information
sickelap committed Dec 9, 2024
1 parent 86546b3 commit f4928f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/layouts/dataviz/FaceDashboard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
import { RemoveScroll, Stack } from "@mantine/core";
import { Flex, RemoveScroll, Stack } from "@mantine/core";
import { useElementSize } from "@mantine/hooks";
import _ from "lodash";
import React, { useEffect, useRef, useState } from "react";
Expand Down Expand Up @@ -358,7 +358,7 @@ export function FaceDashboard() {
notThisPerson={notThisPersonFunc}
/>
</Stack>
<div ref={ref} style={{ flexGrow: 1 }}>
<Flex ref={ref} style={{ flexGrow: 1, padding: "0 15px" }}>
<AutoSizer>
{({ height, width: gridWidth }) => (
<ScrollScrubber
Expand Down Expand Up @@ -386,7 +386,7 @@ export function FaceDashboard() {
</ScrollScrubber>
)}
</AutoSizer>
</div>
</Flex>
<ModalPersonEdit
isOpen={modalPersonEditOpen}
onRequestClose={() => {
Expand Down

0 comments on commit f4928f6

Please sign in to comment.