-
Notifications
You must be signed in to change notification settings - Fork 97
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
refactored navbar #238
base: develop
Are you sure you want to change the base?
refactored navbar #238
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.
Please put a proper video of the changes
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.
@rupal-2505 In many places i can see that you have changed lot of styling related to width margins and padding, I understand the top margin part where you want the navbar to look sticky to the top but other places do not really make sense for this PR.
@RitikJaiswal75 I'have only changed the margins and paddings where it's necessary to make the navbar sticky. i will look into it again and try to remove unnecessary ones. |
@RitikJaiswal75 Added video for reference. |
header { | ||
position: sticky; | ||
top: 0; | ||
background-color: #1d1283; |
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.
please use a css variable here
@@ -1,5 +1,8 @@ | |||
nav { | |||
font-weight: 700; | |||
position: sticky; | |||
top: 0; | |||
background-color: #1d1283; |
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.
please use css variable
@@ -1,6 +1,9 @@ | |||
nav { | |||
font-family: 'roboto'; | |||
font-weight: 700; | |||
position: sticky; | |||
top: 0; | |||
background-color: #1d1283; |
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.
css variable please
Issue
#235
Current status
Currently , when user scroll-down the RDS website, the navbar is scrolled down .
What is the change?
Navbar is fixed .Will not scroll with the page.
Video for reference
Navbar.mp4