File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
app/uk/gov/hmrc/apidocumentation/views/raml Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 2020
2121@for(param < - params){
2222< tr class ="table__row--responsive ">
23- < td data-heading ="Name " class ="table__detail--responsive table__col--1- ">
23+ < td data-heading ="Name " class ="table__detail--responsive table__col--1-3 ">
2424 < div class ="table__cell-contents--responsive ">
2525 < div class ="parameter-name "> @param.name</ div >
2626 < div class ="parameter-type "> @{param.baseTypeName}</ div >
Original file line number Diff line number Diff line change 2727 @if(params.nonEmpty) {
2828 < section id ="request-parameters_@contentID " class ="section ">
2929 < h4 class ="heading-small "> Path parameters</ h4 >
30- < table >
31- < caption >
30+ < table class =" table--align-top " >
31+ < caption class =" table__caption--low-vis " >
3232 < div class ="visually-hidden "> Path parameters table</ div >
3333 </ caption >
3434 < col width ="33% "/>
3535 < col width ="67% "/>
3636 < thead >
37- < tr >
38- < th > Name</ th >
37+ < tr class =" table__row--desktop-heading " >
38+ < th class =" table__col--1-3 " > Name</ th >
3939 < th > Description</ th >
4040 </ tr >
4141 </ thead >
@@ -51,15 +51,15 @@ <h4 class="heading-small">Path parameters</h4>
5151 @if(params.nonEmpty) {
5252 < section id ="query-parameters_@contentID " class ="section ">
5353 < h4 class ="heading-small first "> Query parameters</ h4 >
54- < table >
55- < caption >
54+ < table class =" table--align-top " >
55+ < caption class =" table__caption--low-vis " >
5656 < div class ="visually-hidden "> Query parameters table</ div >
5757 </ caption >
5858 < col width ="33% "/>
5959 < col width ="67% "/>
6060 < thead >
61- < tr >
62- < th > Name</ th >
61+ < tr class =" table__row--desktop-heading " >
62+ < th class =" table__col--1-3 " > Name</ th >
6363 < th > Description</ th >
6464 </ tr >
6565 </ thead >
@@ -143,12 +143,12 @@ <h4 class="heading-small">Response</h4>
143143 @if(errorScenarios.nonEmpty) {
144144 < section id ="error-responses_@contentID " class ="section ">
145145 < h4 class ="heading-small "> Error scenarios</ h4 >
146- < table >
147- < caption >
146+ < table class =" table--align-top " >
147+ < caption class =" table__caption--low-vis " >
148148 < div class ="visually-hidden "> Error scenarios table</ div >
149149 </ caption >
150150 < thead >
151- < tr >
151+ < tr class =" table__row--desktop-heading " >
152152 < th > Scenario</ th >
153153 < th > HTTP status</ th >
154154 < th > Code</ th >
You can’t perform that action at this time.
0 commit comments