canonical / canonical/vanilla-framework

[Component amendment]: Dropdown navigation min width

Open
#5,758 2 comments 0 reactions 0 assignees View on GitHub
Priority: Low Tier: Global Tier: Sites WG: Validated
Dominant language
HTML
Stars
983
Forks
216
Avg merge
3d 13h
Merged PRs (30d)
3

Description

## Component/pattern to amend

[Dropdown navigation ](https://vanillaframework.io/docs/patterns/navigation#dropdown)

## Visual

Image

## Context

Noticed the issue when reviewing [this PR ](https://github.com/canonical/canonical.design/pull/61). Could we set the minimum width of the dropdown to the width of the navigation item? Also checked and confirmed by Diana [here](https://github.com/canonical/canonical.design/pull/61#issuecomment-3952002165)

Contributor guide

Open the contributing guide

Research direction

Start with the Dropdown navigation pattern linked in the issue and compare its current rendering with the attached visual. Trace the pattern's styling entry point and any existing coverage, then verify that the dropdown's minimum width matches the navigation item width and that the related checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.