feat(ui): tweak add board button style

This commit is contained in:
psychedelicious 2024-07-10 18:31:12 +10:00 committed by Kent Keirsey
parent fea1ec9085
commit b70e87f25b
2 changed files with 5 additions and 3 deletions

View File

@ -44,7 +44,9 @@ const AddBoardButton = ({ isPrivateBoard }: Props) => {
onClick={handleCreateBoard} onClick={handleCreateBoard}
size="md" size="md"
data-testid="add-board-button" data-testid="add-board-button"
variant="ghost" variant="link"
w={8}
h={8}
/> />
); );
}; };

View File

@ -44,7 +44,7 @@ const BoardsList = () => {
<OverlayScrollbarsComponent defer style={overlayScrollbarsStyles} options={overlayScrollbarsParams.options}> <OverlayScrollbarsComponent defer style={overlayScrollbarsStyles} options={overlayScrollbarsParams.options}>
{allowPrivateBoards && ( {allowPrivateBoards && (
<> <>
<Flex w="full" justifyContent="space-between" alignItems="center" ps={2}> <Flex w="full" justifyContent="space-between" alignItems="center" ps={2} py={1}>
<Text fontSize="md" fontWeight="medium" userSelect="none"> <Text fontSize="md" fontWeight="medium" userSelect="none">
{t('boards.private')} {t('boards.private')}
</Text> </Text>
@ -63,7 +63,7 @@ const BoardsList = () => {
</Flex> </Flex>
</> </>
)} )}
<Flex w="full" justifyContent="space-between" alignItems="center" ps={2}> <Flex w="full" justifyContent="space-between" alignItems="center" ps={2} py={1}>
<Text fontSize="md" fontWeight="medium" userSelect="none"> <Text fontSize="md" fontWeight="medium" userSelect="none">
{allowPrivateBoards ? t('boards.shared') : t('boards.boards')} {allowPrivateBoards ? t('boards.shared') : t('boards.boards')}
</Text> </Text>