mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 10:58:23 -05:00
While I'm here, fixup the image styling too
This commit is contained in:
parent
1d72806914
commit
a405908d0b
2 changed files with 9 additions and 1 deletions
|
@ -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 &&
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue