aboutsummaryrefslogtreecommitdiff
path: root/src/pages/FeedPage/PollSubmissionImage.tsx
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-07-04 00:12:42 +0300
committerGitHub <noreply@github.com>2020-07-04 00:12:42 +0300
commited0117c9c7a60b285eb8e47bbd925e222184df51 (patch)
treeb97f00e24f7ef10db191954588534f59644fdabc /src/pages/FeedPage/PollSubmissionImage.tsx
parentaf51f6c8a6fabdd8e578e13599b33f121f483a52 (diff)
parent7b698a68cb3d332aecfebf7a85b2ac56f9448bea (diff)
downloadwhich-ui-ed0117c9c7a60b285eb8e47bbd925e222184df51.tar.gz
Merge pull request #61 from which-ecosystem/mobile-adaptation
Adapt application for mobile devices
Diffstat (limited to 'src/pages/FeedPage/PollSubmissionImage.tsx')
-rw-r--r--src/pages/FeedPage/PollSubmissionImage.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pages/FeedPage/PollSubmissionImage.tsx b/src/pages/FeedPage/PollSubmissionImage.tsx
index a8ec437..8835989 100644
--- a/src/pages/FeedPage/PollSubmissionImage.tsx
+++ b/src/pages/FeedPage/PollSubmissionImage.tsx
@@ -28,6 +28,9 @@ const useStyles = makeStyles({
display: 'flex',
justifyContent: 'center',
alignItems: 'center'
+ },
+ text: {
+ textAlign: 'center'
}
});
@@ -56,7 +59,7 @@ const PollSubmissionImage: React.FC<PropTypes> = ({ url, setUrl }) => {
const Upload = (
<>
<CloudUploadIcon fontSize="large" color="primary" />
- <Typography variant="h5"> Upload an image </Typography>
+ <Typography variant="h5" className={classes.text}> Upload an image </Typography>
</>
);