mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-15 04:17:41 +08:00
fix(AI,Web): Optimize the experience
This commit is contained in:
@@ -13,7 +13,7 @@ import { Link, useNavigate, useLocation } from 'react-router';
|
||||
import { useAuth } from '../../auth/AuthContext';
|
||||
import { getMainRoutes, getAdminRoutes, type RouteConfig } from '../../routes';
|
||||
import UserAvatar from '../../components/UserAvatar';
|
||||
import { UserRole } from '../../api/types';
|
||||
import { UserRole } from '../../api';
|
||||
import SearchDialog from '../../components/search/SearchDialog';
|
||||
import useIsMobile from '../../hooks/useIsMobile';
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ const Sidebar: React.FC<SidebarProps> = ({ collapsed, isMobile = false, onClose,
|
||||
height: isMobile ? '56px' : '64px',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: collapsed ? 'center' : 'flex-start',
|
||||
justifyContent: 'center',
|
||||
padding: collapsed ? '0' : '0 20px',
|
||||
color: '#001529',
|
||||
fontWeight: 'bold',
|
||||
|
||||
Reference in New Issue
Block a user