ic-design-system icon indicating copy to clipboard operation
ic-design-system copied to clipboard

Increasing text size when on website forces anchor nav over to the right

Open GCHQ-Developer-847 opened this issue 1 year ago • 0 comments

Summary of the bug

When you increase the text size while on the ICDS website, the anchor nav is forced off the screen to the right

🪜 How to reproduce

  1. Go to a page on the website which has an anchor nav, e.g. the Accordion guidance page.
  2. Change the text size in the browser, e.g. on Chrome, go to Settings > Appearance > Font size.
  3. See that the anchor nav is pushed off to the right.

📸 Screenshots or code

https://github.com/user-attachments/assets/337a3c45-56f4-48d6-9677-6e257d8e9b2d

🧐 Expected behaviour

I suppose the best solution would be to move the anchor nav to be above the page content / text, like what it does when on a smaller screen size.

GCHQ-Developer-847 avatar Jul 19 '24 17:07 GCHQ-Developer-847