Feat: Preview the image at the bottom of the message #12076 (#12225)

### What problem does this PR solve?

Feat: Preview the image at the bottom of the message #12076

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-12-26 12:11:19 +08:00
committed by GitHub
parent cbcbbc41af
commit 52dbacc506
4 changed files with 84 additions and 28 deletions

View File

@ -2,6 +2,7 @@ import { Toaster as Sonner } from '@/components/ui/sonner';
import { Toaster } from '@/components/ui/toaster';
import i18n from '@/locales/config';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { configResponsive } from 'ahooks';
import { App, ConfigProvider, ConfigProviderProps, theme } from 'antd';
import pt_BR from 'antd/lib/locale/pt_BR';
import deDE from 'antd/locale/de_DE';
@ -24,7 +25,7 @@ import { TooltipProvider } from './components/ui/tooltip';
import { ThemeEnum } from './constants/common';
import storage from './utils/authorization-util';
import { configResponsive } from 'ahooks';
import 'react-photo-view/dist/react-photo-view.css';
configResponsive({
sm: 640,