侧边菜单隐藏处理

This commit is contained in:
tangly1024
2021-10-15 15:02:10 +08:00
parent 90d8a2e6e0
commit 3841f9fdac
3 changed files with 3 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ const MenuButtonGroup = ({ allowCollapse = false }) => {
<div className='my-auto w-5 text-2xl justify-center flex'>
<i className={'fa ' + link.icon} />
</div>
<div className={(allowCollapse ? 'hidden xl:block' : '') + ' ml-4 w-32'}>{link.name}</div>
<div className={'ml-4 w-32'}>{link.name}</div>
</a>
)
)}