Skip to content

"Personal tools" dropdown (... button) is invisible on desktop despite toggling correctly #54

Open

Description

@ventura-christian

Steps to Reproduce

  1. Visit https://indieweb.org on a desktop browser (tested on Chrome, Safari, and macOS)
  2. Ensure the viewport is ≥720px wide
  3. Click the ⋯ (three-dot) button to the right of the "Log in" button in the top nav

Observed Behavior

A small visual artifact appears briefly but no dropdown content is visible. Inspecting the DOM confirms:

  • aria-expanded correctly flips to true on click
  • vector-dropdown-content is present in the DOM and populated (login link, menu items)
  • No console errors are thrown

Expected Behavior

A dropdown menu should appear with personal tools options (e.g. login link).

Root Cause

A media query in load.php unconditionally hides .user-links-collapsible-item at ≥720px with no exception for the expanded state:

@media screen and (min-width: 720px) {
  .vector-user-menu .user-links-collapsible-item {
    display: none;
  }
}

Suggested Fix

Since the "Log in" button is already visible in the nav at ≥720px, the ⋯ button is redundant at that breakpoint. The simplest fix is to hide #vector-user-links-dropdown-label at ≥720px rather than patching the dropdown visibility logic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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