[v10] Extend global inline code styles#1984
Conversation
colinrotherham
left a comment
There was a problem hiding this comment.
Thanks @frankieroberto
Cache retrieval is failing again (even though it was just saved). Might have to run the actions a few more times—they must be having a slow day again
Am I right in thinking the code block page examples are duplicated?
Once for normal, once for reverse
|
@colinrotherham duplicated the example into the reverse section now:
|
Co-authored-by: Colin Rotherham <work@colinr.com>
|
Nice thanks for this @frankieroberto Should the reverse styles be using |
Ah good spot. Done in f942a17. It needs the Arguably the inverse style could be applied automatically, but that’s a whole other can of worms so maybe leave that for now? (The govuk design system team are looking at this too) |
colinrotherham
left a comment
There was a problem hiding this comment.
Thanks @frankieroberto 🙌
Just needs a changelog entry?
Probably adjust the PR title to say we're adding global styles (I think we say this?) for inline code elements within table heading, description term and description details elements?
i.e. Whilst it does apply to the summary list these are global styles
Co-authored-by: Colin Rotherham <work@colinr.com>
Can I have your thoughts on this? i.e. Should we make |
Feels like it could be one for a follow-up PR as we consider global styles more generally? 🤷♂️ |


Discovered an issue in nhsuk/nhsuk-service-manual#2585 that
<code>elements within a summary list don't get the red-on-white colour.This fixes that. Also extends the inline code style to where they are within
<th>elements.Checklist