khannakshat7 / Elektra

⚡ML powered Electricity Outage prediction⚡
https://elecktra.uc.r.appspot.com
MIT License
41 stars 84 forks source link

The User title link gets stuck if we clicked on it. #74

Closed pranjalg13 closed 3 years ago

pranjalg13 commented 3 years ago

Proposal

When the logged-in user clicks on the username along with some link(in the navbar) the hover effect remains and it doesn't go until refreshing the page. I added some styling to remove the ambiguity.

Title

CodesbyUnnati commented 3 years ago

I didn't understand your issue, can u please explain it more clearly, or can u record and attach that part for better understanding.

pranjalg13 commented 3 years ago

The main issue was Welcome, username was set as an anchor tag with href="#" so if a user is on let's say the feedback page and accidentally clicks on the username, then both the links will be active and it doesn't go until refresh the page. dpubt2 As shown in the image.

pranjalg13 commented 3 years ago

@CodesbyUnnati I have updated the PR, where I have also included the updated image. It is like this: updated2 This code changed is more clear. Look into it.

CodesbyUnnati commented 3 years ago

Yes, now this looks fine. I'll assign this issue to you.