File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/materials/src/libs/admin-layout Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -104,11 +104,11 @@ const AdminLayout: FC<AdminLayoutProps> = ({
104104 const footerDisplay = ! fullContent && fixedFooter ? 'block' : 'none' ;
105105
106106 return (
107- < div
107+ < section
108108 className = { classNames ( 'relative h-full' , commonClass ) }
109109 style = { cssVar }
110110 >
111- < div
111+ < section
112112 id = { isWrapperScroll ? scrollElId : '' }
113113 className = { classNames ( 'h-full flex flex-col' , scrollWrapperClass , commonClass , {
114114 'overflow-y-auto' : isWrapperScroll
@@ -233,8 +233,8 @@ const AdminLayout: FC<AdminLayoutProps> = ({
233233 > </ div >
234234 </ >
235235 ) }
236- </ div >
237- </ div >
236+ </ section >
237+ </ section >
238238 ) ;
239239} ;
240240export default AdminLayout ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const VerticalMenu = memo(() => {
4848
4949 const openKeys = getSelectedMenuKeyPath ( route . matched ) ;
5050
51- const isMix = themeSettings . layout . mode === 'vertical- mix';
51+ const isMix = themeSettings . layout . mode . includes ( ' mix') ;
5252
5353 const inlineCollapsed = useAppSelector ( getSiderCollapse ) ;
5454
You can’t perform that action at this time.
0 commit comments