Updated theme UI and Made the code Clean for navbar#249
Open
Hardikdhoot121 wants to merge 1 commit into
Open
Conversation
|
@Hardikdhoot121 is attempting to deploy a commit to the Lovely Mahour's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎨 UI & Layout Improvements
This document details the recent UI bug fixes and layout improvement made to the Home page and NavBar Section .
Please provide a positive review if possible, as I invested a significant amount of time understanding the existing CSS architecture and resolving these issues carefully .
1. The Problems
During the testing of the interface, several layout and styling inconsistencies were identified:
2. How I Solved the Problems
Perfectly Centered Navbar
flex: 1to the Logo container, the Links container, and the Profile container. This forces the middle container to sit dead-center symmetrically. I also reduced the link gap to a cleaner1.5rem.The Profile Picture Fix (apparing in both horizontal layout and vertical dropdown in the page)
Uniform Hero Buttons
.homeprefixes to.btnand.btn-secondaryinHome.cssto increase CSS specificity, and also set a fixed width of220pxto ensure both buttons look identical while maintaining their flex-wrap responsiveness for mobile.3. Before
4. After