Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File upload component at 400% zoom does not resize #2007

Closed
shabana-ali opened this issue Nov 5, 2020 · 0 comments · Fixed by #2306
Closed

File upload component at 400% zoom does not resize #2007

shabana-ali opened this issue Nov 5, 2020 · 0 comments · Fixed by #2306
Assignees
Labels
design file upload 🕔 hours A well understood issue which we expect to take less than a day to resolve. small story
Milestone

Comments

@shabana-ali
Copy link

Component: https://design-system.service.gov.uk/components/file-upload/

At 400% zoom (screenshot on Chrome), the file input does not resize to fit the viewport and horizontal scrolling appears:
screenshot-fileinput-400%zoom

Having style width: 100% for the file input does rescale it correctly (as done for text inputs, e.g. https://design-system.service.gov.uk/components/text-input/default/index.html)

For reference alphagov/govuk-design-system-backlog#49 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design file upload 🕔 hours A well understood issue which we expect to take less than a day to resolve. small story
Projects
Development

Successfully merging a pull request may close this issue.

6 participants