Skip to content

Commit

Permalink
Prefer SVGs for external link images
Browse files Browse the repository at this point in the history
REDMINE-20852
  • Loading branch information
tf committed Nov 19, 2024
1 parent 99ab2a5 commit 7e2eb4b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export function Thumbnail({imageFile, aspectRatio, cropPosition, load, children}
style={{paddingTop: aspectRatioPadding}}>
<Image imageFile={imageFile}
load={load}
preferSvg={true}
variant={(aspectRatioPadding || cropPosition) ? 'medium' : 'linkThumbnailLarge'} />
{children}
</div>
Expand Down

0 comments on commit 7e2eb4b

Please sign in to comment.