From 484a51dabc97a9cd56e061b92f207fa2f1549ad6 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 causes 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 50a474734e..b3404867f1 100644 --- a/packages/lib-react-components/CHANGELOG.md +++ b/packages/lib-react-components/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - refactor `AnimatedNumber` to fix a bug where deferred values are displayed as 0. - Style RegisterForm as one column for `small` screensize. - Project card badges are now circular in Safari. +- `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} }