New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dropdown menu to navbar #4188
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for picking this up! It looks nice!
NEVERMIND. I can just use the
|
86fea46
to
e2d9f49
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Well done💯
e2d9f49
to
c91439a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
.items { | ||
display: flex; | ||
flex-direction: column; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be unused
|
||
const ItemList = ({ items }: Props) => { | ||
return ( | ||
<Flex column={true}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Flex column={true}> | |
<Flex column> |
Same thing
@norbye Good catch! Seems like I forgot to import variables.css in the css file 🙃. I'll fix this right away |
Description
Adds a simple dropdown menu that appears when you hover over the navbar.
It lacks animations, like in Ivar's original PR, but I was told to be agile so I'm just throwing this PR out there. I tried to add an identical animation, but it was literally mission impossible ;(
Result
Before
Screencast.from.2023-10-13.22-53-19.webm
After
Light mode:
Screencast.from.2023-10-14.11-13-56.webm
Dark mode:
Screencast.from.2023-10-14.11-14-16.webm
Testing
Everything works... EXCEPT this tiny bug that I encountered. It is not caused by the changes in this PR tho, so it will need to be fixed in a separate PR.
Resolves ABA-143