Royal-Navy / design-system

Build web applications that meet the Royal Navy service standards
https://storybook.design-system.navy.digital.mod.uk
Apache License 2.0
103 stars 32 forks source link

chore(Masthead): Make masthead nav handle smaller viewports #3764

Closed markhigham closed 2 weeks ago

markhigham commented 2 weeks ago

Related issue

3756

Overview

This is the first step towards making Masthead responsive. We've changed the overflow treatment for MastheadNav and individual StyledTabNav to prevent wrapping

Reason

Downstream consumers of the Design system need to support smaller viewports

Work carried out

Screenshot

See how this doesn't fix responsive layout, but is better than previous treatments.

image
netlify[bot] commented 2 weeks ago

Deploy Preview for storybook-navy-digital-mod-uk ready!

Name Link
Latest commit 43a6ce77c78c35018c39a6a36325f96aeb56c57d
Latest deploy log https://app.netlify.com/sites/storybook-navy-digital-mod-uk/deploys/6632335324f6da0008557f98
Deploy Preview https://deploy-preview-3764--storybook-navy-digital-mod-uk.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud