Skip to content

Commit

Permalink
fix: corrigindo responsividade do sidebar
Browse files Browse the repository at this point in the history
MariaCHelena committed Aug 13, 2024
1 parent b081d31 commit c06d853
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/src/components/header/index.jsx
Original file line number Diff line number Diff line change
@@ -63,9 +63,11 @@ const Header = () => {
</ul>
<div>
<div className={styles.responsiveCampoPesquisa}>
<img
src={search}
/>
<a href="/licitacoes" style={{display: 'flex', alignItems: 'center'}}>
<img
src={search}
/>
</a>
<img
src={menuBurger}
onClick={() => setShowSidebar((prev) => !prev)}
10 changes: 10 additions & 0 deletions frontend/src/components/sidebar-responsive/style.module.css
Original file line number Diff line number Diff line change
@@ -34,3 +34,13 @@
text-decoration: none;
font-family: 'IBM Plex Sans', sans-serif;
}

@media (min-width: 720px) {
.sidebarContainer{
display: none;
}

.sidebar {
display: none;
}
}

0 comments on commit c06d853

Please sign in to comment.