Skip to content

Commit

Permalink
content: generateWikiHomeNewsBox: use large thumb instead of medium
Browse files Browse the repository at this point in the history
This works around 'medium' now being cropped to square, which isn't
appropriate for images displaying in a content context.
  • Loading branch information
towerofnix committed Aug 13, 2023
1 parent 5b1ab44 commit d9c225d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/dependencies/generateWikiHomeNewsBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default {
mainLink,
]),

content.slot('thumb', 'medium'),
content.slot('thumb', 'large'),

html.tag('p',
{[html.onlyIfContent]: true},
Expand Down

0 comments on commit d9c225d

Please sign in to comment.