Skip to content

Commit c8516d3

Browse files
authored
SYN-733: Using ‘nhsuk-details’ component (#75)
* Added a <details> element listing the Sandbox endpoints * Update * Added missing target="_blank" * Added example HTML code * Using ‘nhsuk-details’ component
1 parent 93bc1f0 commit c8516d3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

specification/nhs-website-content-api.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,11 @@ info:
121121
* only covers a limited set of scenarios
122122
* is open access, so does not allow you to test authorisation
123123
124-
<details style="margin-bottom: 1rem;">
125-
<summary>The sandbox environment includes the following 48 mocked endpoints (click to reveal):</summary>
126-
<div style="margin-top: 1rem;">
124+
<details class="nhsuk-details">
125+
<summary class="nhsuk-details__summary">
126+
<span class="nhsuk-details__summary-text">The sandbox environment includes the following 48 mocked endpoints</span>
127+
</summary>
128+
<div class="nhsuk-details__text">
127129
<h4>API v2 root</h4>
128130
<ul>
129131
<li><a href="https://sandbox.api.service.nhs.uk/nhs-website-content/" target="_blank">https://sandbox.api.service.nhs.uk/nhs-website-content/</a> (Not a valid endpoint)</li>

0 commit comments

Comments
 (0)