Skip to content

Nav item CSS:hover is applied before the nav item is even clickable #908

Closed
@shanrauf

Description

@shanrauf

Nature of issue?

  • Found a bug

Details about the bug:

  • Web browser and version: On Chrome
  • Operating System: Windows 10
  • Steps to reproduce this bug: Hover over a nav item where your cursor is causing the :hover effect to be applied, but since your cursor is not hovering over the text, the nav item dropdown is still not clickable

New feature details:

It causes confusion when the CSS hover effect is applied and the user tries clicking a nav item, but they can't click it unless the cursor is above the text.

Solution:

Change line 52 of client\styles\components_nav.scss

from
.nav__item:hover {

to
.nav__item button:hover {

This way, the CSS hover effect (text changing color) will only be applied when the user's cursor is above the button/text and is able to click the dropdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions