Comments (1)
Thanks to @Fenwick17 - we've worked out that adding this CSS fixes the issue:
.nhsuk-label {
box-sizing: border-box;
}
It's slightly baffling me why the label is inheriting a box-sizing differently inside the details element... But this fix does seem to work, and it's pretty harmless since border-box is what we'd want it to be anyway. I've stuck it in our service's "shame.scss" for the moment - will do a PR once we've been through testing.
from nhsuk-frontend.
Related Issues (20)
- Footer copyright is not right aligned HOT 1
- Input prefix/suffix overflows containers with large font sizes HOT 2
- Action links rely on colour to convey meaning HOT 1
- Link vs body text colour contrast HOT 1
- Dashes in a Contents list have insufficient contrast HOT 1
- Improve line spacing on summary list
- Component JS files are only available in ESM syntax
- Missing style for nhsuk-list--border
- Allow copyright statement in footer to be set via Nunjucks macro HOT 1
- Error summaries should only be programatically focusable, not keyboard focusable HOT 1
- Label bottom margins are too large
- Order of imports affects styling for checkboxes and radio labels HOT 1
- Bug: inset text requires html option to be uppercase
- EPIC: Explore rebuilding NHS.UK frontend directly from GOV HOT 9
- Top padding not applied to fieldset legends when they appear after a paragraph. HOT 4
- Back links - probably shouldn't have visited colour styles when hovered. HOT 2
- Fix hashes and IDs for URLs
- Table component 'firstCellIsHeader' doesn't work with 'responsive: true'
- Support value param for radios
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nhsuk-frontend.