@jesse10930
Posted
Hey Abhishek! Great job on the project, looking good so far!
As to your third question, adding the styling 'align-self: flex-start;' to the 'nav-login' class should fix that problem. Right now, the div is centered because of the styling 'align-items: center;' on the 'nav-menu' class. When the dropdown on the left opens, the parent div becomes larger. Then the 'nav-login' div moves to the center of that larger div. If you add the align-self attribute, the div will be unaffected by the size of its parent div.
Hope this helps!
Marked as helpful
@abhisheksinghwork7
Posted
@jesse10930 Thanks for the solution. I missed the along-items: center on the parent div.