ASU / asu-unity-stack

ASU Unity Design System
https://unity.web.asu.edu/
Other
11 stars 8 forks source link

fix(components-core): align anchor menu with its content #1113

Closed scott-williams-az closed 1 year ago

scott-williams-az commented 1 year ago

Description

Issue of the problem found on app-degree-pages, which uses components-core anchor menu. The anchor menu hard codes the container-xl

Solution

The component will look at the content of the first item and align with those containers found or will default to container-xl Also added some performance to avoid re-rendering:

Alternate solution would be to add a prop for container

Links

Checklist

Browsers

Images