mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-01 07:45:36 -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 (
|
return (
|
||||||
<div className={fieldClassName}>
|
<div className={fieldClassName}>
|
||||||
<img
|
<img
|
||||||
style={{width: '300px', height: '225px', objectFit: 'cover'}}
|
className="studio-image"
|
||||||
src={src}
|
src={src}
|
||||||
/>
|
/>
|
||||||
{canEditInfo && !isFetching &&
|
{canEditInfo && !isFetching &&
|
||||||
|
|
|
@ -83,6 +83,14 @@ $radius: 8px;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.studio-image {
|
||||||
|
width: 300px;
|
||||||
|
height: 225px;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.studio-follow-button {
|
.studio-follow-button {
|
||||||
padding-top: 14px;
|
padding-top: 14px;
|
||||||
padding-bottom: 14px;
|
padding-bottom: 14px;
|
||||||
|
|
Loading…
Reference in a new issue