🎨 styles: fix dot in icon filter from header

:%s
This commit is contained in:
lytrankieio123
2021-10-06 18:16:25 +07:00
parent 721ae9dedc
commit 97e3d10bfd
3 changed files with 2 additions and 12 deletions

View File

@@ -50,10 +50,6 @@
width: 1.2rem;
height: 1.2rem;
border-radius: 1.2rem;
@apply hidden;
&.isShow {
@apply block;
}
}
@screen md {
display: none;

View File

@@ -27,7 +27,6 @@ interface Props {
children?: any
isFull?: boolean
isStickyHeader?: boolean
visibleFilter?: boolean
openModalLogin: () => void
openModalRegister: () => void
openModalInfo: () => void
@@ -38,7 +37,6 @@ const HeaderMenu = memo(
({
isFull,
isStickyHeader,
visibleFilter,
openModalLogin,
openModalRegister,
openModalInfo,
@@ -105,12 +103,7 @@ const HeaderMenu = memo(
{FILTER_PAGE.includes(router.pathname) && (
<button className={s.iconFilter} onClick={toggleFilter}>
<IconFilter />
<div
className={classNames({
[s.dot]: true,
[s.isShow]: visibleFilter,
})}
></div>
<div className={s.dot}></div>
</button>
)}
<button

View File

@@ -68,4 +68,5 @@ const HeaderSubMenuMobile = memo(({ }: Props) => {
)
})
HeaderSubMenuMobile.displayName = 'HeaderSubMenuMobile'
export default HeaderSubMenuMobile