cds-snc / cds-snc/gcds-docs

bug: Side Nav and Top Nav components displaying small / desktop on preview and code builder

Open
#693 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
8
Avg merge
4d 12h
Merged PRs (30d)
21

Description

Both navigations are showing the mobile or reduced viewport versions on the preview and code builder sections.
https://design-system.alpha.canada.ca/en/components/top-navigation/code/

Image

https://design-system.alpha.canada.ca/en/components/side-navigation/code/

In addition, there are some display and interaction issues with the code builder:
> When you click the "menu" button, it expands beneath the buttons for the code builder, hiding some of the component and content. When the code is hidden you can see some of the nav link but none when the code is expanded.

Image
Image

Contributor guide

Open the contributing guide

Research direction

Open the Top Navigation and Side Navigation code-builder pages linked in the issue and reproduce the reduced-viewport display and the menu expansion behavior in preview and code builder. Done means both navigations show the intended desktop view at the relevant size, and the expanded or collapsed code builder leaves the component and navigation links visible and usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.