Skip to content

Commit

Permalink
Revert "Include width and height size attributes on image card compon…
Browse files Browse the repository at this point in the history
…ent"
  • Loading branch information
andysellick authored Jul 25, 2022
1 parent 7eec81e commit 9f21803
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

* GA4 analytics schema rework ([PR #2864](https://github.com/alphagov/govuk_publishing_components/pull/2864))
* Change colour palette in graphs to match GSS guidance ([PR #2782](https://github.com/alphagov/govuk_publishing_components/pull/2782))
* Include width and height size attributes on image card component ([PR #2869](https://github.com/alphagov/govuk_publishing_components/pull/2869))

## 29.15.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ body: |
An image and links, meant for use for news articles and people. Includes optional paragraph and additional links.
The component is generally to be used within a grid column but has no grid of its own, so the text and the images in the examples below may not always line up. This will normally look tidier, for example [on pages like this](https://www.gov.uk/government/organisations/attorney-generals-office).
Images should have an aspect ratio of 3:2.
accessibility_criteria: |
The component must:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ def image
loading: @image_loading,
sizes: @sizes,
srcset: @srcset,
height: 200,
width: 300,
)
end
end
Expand Down

0 comments on commit 9f21803

Please sign in to comment.