UI tweaks

This commit is contained in:
Mary Hipp 2023-06-15 14:57:14 -04:00 committed by psychedelicious
parent dcfee2e1e4
commit bd29e5e655

View File

@ -13,7 +13,6 @@ import { useAppDispatch } from 'app/store/storeHooks';
import { memo, useCallback } from 'react'; import { memo, useCallback } from 'react';
import { FaFolder, FaTrash } from 'react-icons/fa'; import { FaFolder, FaTrash } from 'react-icons/fa';
import { ContextMenu } from 'chakra-ui-contextmenu'; import { ContextMenu } from 'chakra-ui-contextmenu';
import { useTranslation } from 'react-i18next';
import { BoardDTO } from 'services/api'; import { BoardDTO } from 'services/api';
import { IAIImageFallback } from 'common/components/IAIImageFallback'; import { IAIImageFallback } from 'common/components/IAIImageFallback';
import { boardIdSelected } from 'features/gallery/store/boardSlice'; import { boardIdSelected } from 'features/gallery/store/boardSlice';
@ -89,6 +88,7 @@ const HoverableBoard = memo(({ board, isSelected }: HoverableBoardProps) => {
w: 'full', w: 'full',
h: 'full', h: 'full',
aspectRatio: '1/1', aspectRatio: '1/1',
overflow: 'hidden',
}} }}
> >
{cover_image_url ? ( {cover_image_url ? (
@ -115,6 +115,7 @@ const HoverableBoard = memo(({ board, isSelected }: HoverableBoardProps) => {
> >
<EditablePreview <EditablePreview
sx={{ color: 'base.200', fontSize: 'xs', textAlign: 'left' }} sx={{ color: 'base.200', fontSize: 'xs', textAlign: 'left' }}
noOfLines={1}
/> />
<EditableInput <EditableInput
sx={{ sx={{