Skip to content

Improvements to gov banner #328

@maxatdetroit

Description

@maxatdetroit

A few improvement requests:

  • The down chevron should rotate 180 degrees when the dropdown opens/closes to indicate the link now closes/opens the dropdown
  • The display of the content container should use an ease-in-out animation instead of abruptly appearing
  • The info section should be have a part attribute enabling it to be styled from the light DOM. Specifically, I should be able to override the left and right margins of the content so that the edges line up with the main content of the site where the banner is used.

Example of how I found these issues when using the component on a real site:

Screen.Recording.2025-04-10.161648.mp4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions