While I'm here, fixup the image styling too

This commit is contained in:
Paul Kaplan 2021-05-19 15:37:11 -04:00
parent 1d72806914
commit a405908d0b
2 changed files with 9 additions and 1 deletions

View file

@ -35,7 +35,7 @@ const StudioImage = ({
return (
<div className={fieldClassName}>
<img
style={{width: '300px', height: '225px', objectFit: 'cover'}}
className="studio-image"
src={src}
/>
{canEditInfo && !isFetching &&

View file

@ -83,6 +83,14 @@ $radius: 8px;
width: 300px;
box-sizing: border-box;
}
.studio-image {
width: 300px;
height: 225px;
object-fit: cover;
border-radius: 8px;
}
.studio-follow-button {
padding-top: 14px;
padding-bottom: 14px;