Fixed story preview styling

This commit is contained in:
Dmitriy Shishkov 2023-07-29 14:04:48 +03:00
parent 6338e86a33
commit ef94349341
Signed by: dm1sh
GPG Key ID: 027994B0AA357688

View File

@ -28,11 +28,12 @@ const styles = {
} as CSSProperties,
link: {
textDecoration: 'none',
color: 'var(--bs-body-color)'
color: 'var(--bs-body-color)',
maxWidth: 'calc(25vh * 9 / 16)',
display: 'inline-block',
} as CSSProperties,
image: {
height: '25vh',
maxWidth: 'calc(25vh * 9 / 16)',
objectFit: 'contain',
borderRadius: 12,
marginBottom: 5,