In doing recent font normalization work, we recently discovered the header for VA.gov doesn't scale properly when browser font settings are set to large or extra large. To fix this, the width values for the header menus need to be in relative units instead of pixels.
The first dropdown has a set width of 250px so at the larger font sizes, when the arrows end up further right, the white background cannot expand. But if this were to change to a relative width (I used 15.5rem because that aligns with the individual buttons sizes but then gives a little bit of additional padding) that should allow for the correct resizing at various font sizes - I looked at Medium, Large and Very Large
For the "View all in {hub}" hub links, this is again positioned using pixel sizes but if we change this to the same rem value that the white section is using as well as the padding the gray section is using, this should respond and flex appropriately when the text grows
Description
In doing recent font normalization work, we recently discovered the header for VA.gov doesn't scale properly when browser font settings are set to large or extra large. To fix this, the width values for the header menus need to be in relative units instead of pixels.
Considerations
Tasks
Acceptance Criteria