Skip to content

Commit

Permalink
[ApplicationGrid] Adjust background color, spacing and matching crite…
Browse files Browse the repository at this point in the history
…ria height.
  • Loading branch information
cvanem committed Dec 18, 2024
1 parent 1e18976 commit 199a2b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ import DialogButton from '../../GenericDialog/DialogButton';
import { useLastRatingDateTime } from './useLastRatingDateTime';
import { useDialogState } from '../../GenericDialog/useDialogState';
import { title } from '../../GenericDialog/ViewApp';
import { green, red } from '@mui/material/colors';
import { green } from '@mui/material/colors';
import { withReplacement } from '../../../../database/models/Application';
import { categories } from '../../../../constants';
import { useAreFiltersActive } from '../../../pages/useAppTableData';
import { useFilters } from '../../../../database/useFilters';
import { useFilterCount } from '../../../layout/useFilterCount';

const height = 520;
const extraPwaHeight = 96;
const extraPwaHeight = 48;
const useStyles = makeStyles((theme: any) =>
createStyles({
root: ({ isPwa }: any) => ({
Expand Down
8 changes: 7 additions & 1 deletion src/components/application/GenericTable/ExploreGrid.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import ExploreGridItem from './ApplicationsGrid/ApplicationsGridItem';
import { VirtuosoGrid } from 'react-virtuoso';
import styled from '@emotion/styled';
import { grey } from '@mui/material/colors';

const ItemContainer = styled.div`
padding: 0.5rem;
padding-top: 16px;
padding-left: 16px;
padding-right: 16px;
padding-bottom: 16px;
width: 25%;
display: flex;
flex: none;
Expand All @@ -23,8 +27,10 @@ const ItemContainer = styled.div`
`;

const ListContainer = styled.div`
padding: 8px;
display: flex;
flex-wrap: wrap;
background: ${grey[100]};
`;

export default function ExploreGrid({ data, height, GridItem = undefined, scrollElement = undefined }) {
Expand Down

0 comments on commit 199a2b3

Please sign in to comment.