Skip to content

Commit

Permalink
decrease uploaded image size to 90% (#123)
Browse files Browse the repository at this point in the history
add margin above step buttons

Revert "add margin above step buttons"

This reverts commit ab395d1.
  • Loading branch information
haseebk authored Jan 23, 2023
1 parent a0dad92 commit d3dace5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/CreateMapathon/ImageUploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export default function ImageUploader({ handleUpload }) {
<img
src={imageSrc}
alt="testImage"
style={{ maxHeight: '100%', maxWidth: '100%' }}
style={{ maxHeight: '100%', maxWidth: '90%' }}
/>
</UploadedImageDiv>
))
Expand All @@ -200,7 +200,7 @@ export default function ImageUploader({ handleUpload }) {
<img
src={require(`../../images/mapathonsDefaults/def${defaultImage}.jpeg`)}
alt="testImage"
style={{ maxHeight: '100%', maxWidth: '100%' }}
style={{ maxHeight: '100%', maxWidth: '90%' }}
/>
</UploadedImageDiv>
)
Expand All @@ -213,7 +213,7 @@ export default function ImageUploader({ handleUpload }) {
<img
src={require(`../../images/mapathonsDefaults/def${defaultImage}.jpeg`)}
alt="testImage"
style={{ maxHeight: '100%', maxWidth: '100%' }}
style={{ maxHeight: '100%', maxWidth: '90%' }}
/>
</UploadedImageDiv>
)
Expand Down

0 comments on commit d3dace5

Please sign in to comment.