feat(ui): minor padding tweaks in boardslist

This commit is contained in:
psychedelicious 2024-07-24 12:37:01 +10:00
parent dc2a3363b0
commit ab2548c0cd

View File

@ -5,7 +5,7 @@ import DeleteBoardModal from 'features/gallery/components/Boards/DeleteBoardModa
import { selectListBoardsQueryArgs } from 'features/gallery/store/gallerySelectors'; import { selectListBoardsQueryArgs } from 'features/gallery/store/gallerySelectors';
import { useMemo, useState } from 'react'; import { useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { PiCaretDownBold, PiCaretRightBold } from 'react-icons/pi'; import { PiCaretDownBold } from 'react-icons/pi';
import { useListAllBoardsQuery } from 'services/api/endpoints/boards'; import { useListAllBoardsQuery } from 'services/api/endpoints/boards';
import type { BoardDTO } from 'services/api/types'; import type { BoardDTO } from 'services/api/types';
@ -82,8 +82,7 @@ export const BoardsList = ({ isPrivate }: Props) => {
justifyContent="space-between" justifyContent="space-between"
alignItems="center" alignItems="center"
ps={2} ps={2}
pb={1} py={1}
pt={2}
zIndex={1} zIndex={1}
top={0} top={0}
bg="base.900" bg="base.900"
@ -107,7 +106,7 @@ export const BoardsList = ({ isPrivate }: Props) => {
{boardListTitle} {boardListTitle}
</Text> </Text>
)} )}
<AddBoardButton isPrivateBoard={!!isPrivate} /> <AddBoardButton isPrivateBoard={isPrivate} />
</Flex> </Flex>
<Collapse in={isOpen}> <Collapse in={isOpen}>
<Flex direction="column" gap={1}> <Flex direction="column" gap={1}>