style: remove bg image in login

This commit is contained in:
jialin
2025-05-06 20:19:19 +08:00
parent 6a2d2dfdaf
commit 42f9a27851
3 changed files with 2 additions and 4 deletions
@@ -141,7 +141,6 @@ const LogsViewer: React.FC<LogsViewerProps> = forwardRef((props, ref) => {
const createChunkConnection = async () => {
chunkRequedtRef.current?.current?.abort?.();
setLoading(true);
chunkRequedtRef.current = setChunkFetch({
url,
params: {
+1 -3
View File
@@ -1,5 +1,4 @@
import Bg2 from '@/assets/images/bg-2.png';
import NoiseBg from '@/assets/images/noise_texture.png';
import { userAtom } from '@/atoms/user';
import Footer from '@/components/footer';
import useUserSettings from '@/hooks/use-user-settings';
@@ -22,12 +21,11 @@ const Wrapper = styled.div<{ $isDarkTheme: boolean }>`
z-index: -1;
background: ${({ $isDarkTheme }) =>
$isDarkTheme
? `radial-gradient(#404040 0%, #292929 40%, #141414 100%),url(${NoiseBg}) center center repeat`
? `radial-gradient(at 50% 20%, #383838 0%, #292929 40%, #000 100%)`
: `url(${Bg2}) center center no-repeat`};
background-size: ${({ $isDarkTheme }) =>
$isDarkTheme ? 'contain' : 'cover'};
opacity: ${({ $isDarkTheme }) => ($isDarkTheme ? 1 : 0.6)};
background-blend-mode: color-burn;
`;
const Box = styled.div`
@@ -603,6 +603,7 @@ const ModelFiles = () => {
title: intl.formatMessage({ id: 'resources.modelfiles.size' }),
dataIndex: 'size',
width: 100,
align: 'right',
ellipsis: {
showTitle: false
},