Skip to content

Commit

Permalink
add missing fieldset and label heading classes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-shaw committed May 25, 2022
1 parent 98d352a commit 5cb6d9c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/govuk/components/character-count/character-count.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ examples:
maxlength: 10
label:
text: Full address
classes: govuk-label--l
isPageHeading: true

- name: with word count
Expand Down
2 changes: 2 additions & 0 deletions src/govuk/components/checkboxes/checkboxes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ examples:
fieldset:
legend:
text: How do you want to sign in?
classes: govuk-fieldset__legend--l
isPageHeading: true
items:
- name: gateway
Expand All @@ -223,6 +224,7 @@ examples:
fieldset:
legend:
text: How do you want to sign in?
classes: govuk-fieldset__legend--l
isPageHeading: true
items:
- name: gateway
Expand Down
1 change: 1 addition & 0 deletions src/govuk/components/file-upload/file-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ examples:
name: file-upload-1
label:
text: Upload a file
classes: govuk-label--l
isPageHeading: true
- name: with optional form-group classes
data:
Expand Down
1 change: 1 addition & 0 deletions src/govuk/components/input/input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ examples:
data:
label:
text: National Insurance number
classes: govuk-label--l
isPageHeading: true
id: input-with-page-heading
name: test-name
Expand Down
2 changes: 2 additions & 0 deletions src/govuk/components/radios/radios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ examples:
fieldset:
legend:
text: How do you want to sign in?
classes: govuk-fieldset__legend--l
isPageHeading: true
items:
- value: gateway
Expand Down Expand Up @@ -220,6 +221,7 @@ examples:
fieldset:
legend:
text: How do you want to sign in?
classes: govuk-fieldset__legend--l
isPageHeading: true
items:
- value: gateway
Expand Down
1 change: 1 addition & 0 deletions src/govuk/components/select/select.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ examples:
name: select-3
label:
text: Label text goes here
classes: govuk-label--l
isPageHeading: true
items:
-
Expand Down
1 change: 1 addition & 0 deletions src/govuk/components/textarea/textarea.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ examples:
name: address
label:
text: Full address
classes: govuk-label--l
isPageHeading: true

- name: with optional form-group classes
Expand Down

0 comments on commit 5cb6d9c

Please sign in to comment.