Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions packages/nhsuk-frontend-review/src/examples/code-blocks.njk
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,29 @@

<p class="nhsuk-body">This change was introduced in <a class="nhsuk-link nhsuk-link--no-visited-state" href="https://github.com/nhsuk/nhsuk-frontend/pull/1556">pull request #1556: Uplift GOV.UK Frontend file upload component</a>.</p>

<h2>Override classes</h2>
{{ summaryList({
rows: [
{
key: {
html: "<code>nhsuk-u-margin-0</code>",
classes: "nhsuk-u-width-one-half"
},
value: {
text: "Responsive margin on all sides"
}
},
{
key: {
html: "<code>nhsuk-u-margin-top-0</code>"
},
value: {
text: "Responsive margin on the top"
}
}
]
}) }}

</div>
</div>

Expand Down Expand Up @@ -312,6 +335,19 @@

<p class="nhsuk-body">This change was introduced in <a class="nhsuk-link nhsuk-link--reverse nhsuk-link--no-visited-state" href="https://github.com/nhsuk/nhsuk-frontend/pull/1556">pull request #1556: Uplift GOV.UK Frontend file upload component</a>.</p>

<h2>Override classes</h2>
{{ summaryList({
rows: [
{
key: { html: "<code class=\"nhsuk-code--inline nhsuk-code--reverse\">nhsuk-u-margin-0</code>", classes: "nhsuk-u-width-one-half" },
value: { text: "Responsive margin on all sides" }
},
{
key: { html: "<code class=\"nhsuk-code--inline nhsuk-code--reverse\">nhsuk-u-margin-top-0</code>" },
value: { text: "Responsive margin on the top" }
}
] }) }}
Comment thread
colinrotherham marked this conversation as resolved.
Outdated

</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ b {
li code,
caption code,
td code,
th code,
dt code,
dd code,
p code {
width: fit-content;
padding: 2px nhsuk-spacing(1);
Expand Down
Loading