mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
interface: use object-fit:cover
This aligns image embeds with the wishes of the design team, by zooming and cropping the image to fill the entire container
This commit is contained in:
parent
a6e196a0fd
commit
0eb1295f7b
@ -87,7 +87,7 @@ export function RemoteContentImageEmbed(
|
|||||||
height="192px"
|
height="192px"
|
||||||
maxWidth="192px"
|
maxWidth="192px"
|
||||||
width="100%"
|
width="100%"
|
||||||
objectFit="contain"
|
objectFit="cover"
|
||||||
borderRadius={2}
|
borderRadius={2}
|
||||||
onError={onError}
|
onError={onError}
|
||||||
{...props}
|
{...props}
|
||||||
|
Loading…
Reference in New Issue
Block a user