feat: add media query for header responsive
This commit is contained in:
parent
27173fdfe3
commit
68751434c4
|
@ -14,6 +14,7 @@ const Header = ({ selectedTag }: HeaderProps) => {
|
||||||
paddingBottom: '25px',
|
paddingBottom: '25px',
|
||||||
marginTop: '4.4rem',
|
marginTop: '4.4rem',
|
||||||
}}
|
}}
|
||||||
|
className="header-container"
|
||||||
>
|
>
|
||||||
<NimbusLogo />
|
<NimbusLogo />
|
||||||
<TagContainer selectedTag={selectedTag} />
|
<TagContainer selectedTag={selectedTag} />
|
||||||
|
|
|
@ -130,3 +130,10 @@ ul li {
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 440px) {
|
||||||
|
.header-container {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue