0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 22:12:39 +00:00

Move headerNav to separate component

This commit is contained in:
G.Ambatte
2024-07-22 18:45:36 +12:00
parent 17b081b18b
commit c269d32247
4 changed files with 107 additions and 88 deletions

View File

@@ -0,0 +1,30 @@
.headerNav {
position: fixed;
top: 0px;
left: 0px;
padding: 5px 10px;
background-color: #ccc;
border-radius: 5px;
max-height: 100vh;
overflow-y: auto;
&.active {
padding-bottom: 10px;
.navIcon {
padding-bottom: 10px;
}
}
.navIcon {
cursor: pointer;
}
p {
padding: 2px;
a {
color: inherit;
text-decoration: none;
cursor: pointer;
&:hover {
text-decoration: underline;
}
}
}
}