菜单栏图标对齐

This commit is contained in:
tangly1024
2022-02-26 21:27:53 +08:00
parent 20cb91c577
commit 7b49d5de11

View File

@@ -29,7 +29,7 @@ const MenuButtonGroup = (props) => {
<a className={'py-1.5 px-5 duration-300 text-base justify-between hover:bg-gray-700 hover:text-white hover:shadow-lg cursor-pointer font-light flex flex-nowrap items-center ' +
(selected ? 'bg-gray-200 text-black' : ' ')} >
<div className='my-auto items-center justify-center flex '>
<i className={link.icon} />
<i className={`${link.icon} w-4 text-center`} />
<div className={'ml-4'}>{link.name}</div>
</div>
{link.slot}