diff --git a/CHANGELOG.md b/CHANGELOG.md index e6b5005e9..18cbba206 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -84,6 +84,7 @@ and this project adheres to - 🔧(helm) run a valkey for the backend and one for yhub in dev and feature - ✨(frontend) turn pasted doc links into interlinks #2713 - 💄(frontend) redesign 401 error standalone page #2716 +- 💄(frontend) update upload loader and error ui #2778 ### Fixed diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/UploadLoaderBlock.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/UploadLoaderBlock.tsx index 019a2af88..5bf4056ae 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/UploadLoaderBlock.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/UploadLoaderBlock.tsx @@ -9,7 +9,7 @@ import { createReactBlockSpec } from '@blocknote/react'; import { t } from 'i18next'; import { useEffect } from 'react'; -import { Box, Icon, Text } from '@/components'; +import { Card, Icon, Text } from '@/components'; import { useMediaUrl } from '@/core'; import { isSafeUrl } from '@/utils/url'; @@ -135,18 +135,30 @@ const UploadLoaderBlockComponent = ({ }, [block, editor, mediaUrl, isEditable]); return ( - + {block.props.type === 'warning' ? ( ) : ( } /> )} - {block.props.information} - + + {block.props.information} + + ); };