style: remove bg image in login
This commit is contained in:
@@ -141,7 +141,6 @@ const LogsViewer: React.FC<LogsViewerProps> = forwardRef((props, ref) => {
|
|||||||
|
|
||||||
const createChunkConnection = async () => {
|
const createChunkConnection = async () => {
|
||||||
chunkRequedtRef.current?.current?.abort?.();
|
chunkRequedtRef.current?.current?.abort?.();
|
||||||
setLoading(true);
|
|
||||||
chunkRequedtRef.current = setChunkFetch({
|
chunkRequedtRef.current = setChunkFetch({
|
||||||
url,
|
url,
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import Bg2 from '@/assets/images/bg-2.png';
|
import Bg2 from '@/assets/images/bg-2.png';
|
||||||
import NoiseBg from '@/assets/images/noise_texture.png';
|
|
||||||
import { userAtom } from '@/atoms/user';
|
import { userAtom } from '@/atoms/user';
|
||||||
import Footer from '@/components/footer';
|
import Footer from '@/components/footer';
|
||||||
import useUserSettings from '@/hooks/use-user-settings';
|
import useUserSettings from '@/hooks/use-user-settings';
|
||||||
@@ -22,12 +21,11 @@ const Wrapper = styled.div<{ $isDarkTheme: boolean }>`
|
|||||||
z-index: -1;
|
z-index: -1;
|
||||||
background: ${({ $isDarkTheme }) =>
|
background: ${({ $isDarkTheme }) =>
|
||||||
$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`};
|
: `url(${Bg2}) center center no-repeat`};
|
||||||
background-size: ${({ $isDarkTheme }) =>
|
background-size: ${({ $isDarkTheme }) =>
|
||||||
$isDarkTheme ? 'contain' : 'cover'};
|
$isDarkTheme ? 'contain' : 'cover'};
|
||||||
opacity: ${({ $isDarkTheme }) => ($isDarkTheme ? 1 : 0.6)};
|
opacity: ${({ $isDarkTheme }) => ($isDarkTheme ? 1 : 0.6)};
|
||||||
background-blend-mode: color-burn;
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Box = styled.div`
|
const Box = styled.div`
|
||||||
|
|||||||
@@ -603,6 +603,7 @@ const ModelFiles = () => {
|
|||||||
title: intl.formatMessage({ id: 'resources.modelfiles.size' }),
|
title: intl.formatMessage({ id: 'resources.modelfiles.size' }),
|
||||||
dataIndex: 'size',
|
dataIndex: 'size',
|
||||||
width: 100,
|
width: 100,
|
||||||
|
align: 'right',
|
||||||
ellipsis: {
|
ellipsis: {
|
||||||
showTitle: false
|
showTitle: false
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user