Exploring how to quickly and easily design/prototype/deploy high quality digital forms for UK Gov. Based on the excellent work by DEFRA. Currently maintained by jen+forms@cautionyourblast.com at Caution Your Blast and a community collaboration between FCDO, HO, GDS, DfE, DIT, Version 1, UKHSA
Describe the bug
Trying to make the size of the number input box visually smaller as it only needs to house 6 numbers. I copy the example given in classes (additional settings) to do this and it doesn't work. The box remains the same size
To Reproduce
Steps to reproduce the behavior:
Click 'create component' on page
Go to 'number' component (or text)
Click on 'additional settings'
Go to 'Classes' field and enter example (or other)
Save
Preview the page - can see the box remains same size
Expected behavior
The text box should become smaller
Screenshots
Repository
designer
Desktop (please complete the following information):
OS: Windows 11
Browser: Microsoft edge
Version [e.g. 22]
Additional context
I had a look at GDS code for this and it is in html. I can't find anything for a css way to do it. FYI I am a designer and have very basic knowledge of html
Describe the bug Trying to make the size of the number input box visually smaller as it only needs to house 6 numbers. I copy the example given in classes (additional settings) to do this and it doesn't work. The box remains the same size
To Reproduce Steps to reproduce the behavior:
Expected behavior The text box should become smaller
Screenshots
Repository
Desktop (please complete the following information):
Additional context I had a look at GDS code for this and it is in html. I can't find anything for a css way to do it. FYI I am a designer and have very basic knowledge of html