aboutsummaryrefslogtreecommitdiff
path: root/src/Feed
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123.@mail.com>2020-06-07 19:27:32 +0300
committerilyayudovin <ilyayudovin123.@mail.com>2020-06-07 19:27:32 +0300
commit63d8c7cfdc941896e54071f2dce2274d1b602245 (patch)
tree38f0c5020ea05d8cb3c99fdfc4a88564c93afa71 /src/Feed
parenteea76a129c7e8001eca00037e5915c79ed685169 (diff)
downloadwhich-ui-63d8c7cfdc941896e54071f2dce2274d1b602245.tar.gz
fix: changing px to spacing
Diffstat (limited to 'src/Feed')
-rw-r--r--src/Feed/Feed.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Feed/Feed.tsx b/src/Feed/Feed.tsx
index 03ba6c0..ef82b38 100644
--- a/src/Feed/Feed.tsx
+++ b/src/Feed/Feed.tsx
@@ -7,9 +7,9 @@ interface PropTypes {
polls: Poll[],
}
-const usedStyles = makeStyles(() => ({
+const usedStyles = makeStyles(theme => ({
feed: {
- maxWidth: 600,
+ maxWidth: theme.spacing(75),
margin: '0 auto'
}
}));