From 7b2d2af8f5211b5f2145aa7426568480e6c35c72 Mon Sep 17 00:00:00 2001 From: Jim O'Donnell Date: Fri, 4 Oct 2024 22:23:29 +0100 Subject: [PATCH] fix(lib-react-components): thumbnail image sizing Remove the Grommet `fill` prop from thumbnail images, which should fix odd sizing problems in markdown images. --- packages/lib-react-components/CHANGELOG.md | 1 + .../src/Media/components/ThumbnailImage/ThumbnailImage.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib-react-components/CHANGELOG.md b/packages/lib-react-components/CHANGELOG.md index 5957630bb9..228c274499 100644 --- a/packages/lib-react-components/CHANGELOG.md +++ b/packages/lib-react-components/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Style RegisterForm as one column for `small` screensize. - Project card badges are now circular in Safari. - Inconsistent text sizes for Markdown tables and lists. +- `ThumbnailImage` renders tiny images inside markdown tables. ## [1.13.0] 2024-05-17 diff --git a/packages/lib-react-components/src/Media/components/ThumbnailImage/ThumbnailImage.js b/packages/lib-react-components/src/Media/components/ThumbnailImage/ThumbnailImage.js index 5ffe9ba68f..92efaed39e 100644 --- a/packages/lib-react-components/src/Media/components/ThumbnailImage/ThumbnailImage.js +++ b/packages/lib-react-components/src/Media/components/ThumbnailImage/ThumbnailImage.js @@ -63,7 +63,6 @@ export default function ThumbnailImage({ {alt} }