From 2c209a3f52648653fda853614609c76019e5a7d2 Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Fri, 9 Oct 2020 22:47:56 +0300 Subject: Add fontsize for description --- src/containers/PollCreation/PollCreation.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/containers/PollCreation/PollCreation.tsx') diff --git a/src/containers/PollCreation/PollCreation.tsx b/src/containers/PollCreation/PollCreation.tsx index 2e2bd06..2990213 100644 --- a/src/containers/PollCreation/PollCreation.tsx +++ b/src/containers/PollCreation/PollCreation.tsx @@ -14,7 +14,6 @@ import { post } from '../../requests'; import { useFeed, useProfile } from '../../hooks/APIClient'; import { useAuth } from '../../hooks/useAuth'; - const useStyles = makeStyles(theme => ({ images: { height: theme.spacing(50), @@ -25,11 +24,11 @@ const useStyles = makeStyles(theme => ({ height: 100 }, description: { + fontSize: 14, padding: theme.spacing(1, 2) } })); - const PollCreation: React.FC = () => { const [description, setDescription] = useState(''); const classes = useStyles(); -- cgit v1.2.3 From 5449985ccbec3ccadfb983edd5a31dae56d2fa6f Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Fri, 9 Oct 2020 22:52:28 +0300 Subject: Correct validate Dom nesting warning --- src/containers/PollCreation/PollCreation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/containers/PollCreation/PollCreation.tsx') diff --git a/src/containers/PollCreation/PollCreation.tsx b/src/containers/PollCreation/PollCreation.tsx index 2990213..7f4edc1 100644 --- a/src/containers/PollCreation/PollCreation.tsx +++ b/src/containers/PollCreation/PollCreation.tsx @@ -83,7 +83,7 @@ const PollCreation: React.FC = () => { {user && } - + Date: Fri, 9 Oct 2020 23:48:17 +0300 Subject: Fix console warnings --- src/containers/PollCreation/PollCreation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/containers/PollCreation/PollCreation.tsx') diff --git a/src/containers/PollCreation/PollCreation.tsx b/src/containers/PollCreation/PollCreation.tsx index 7f4edc1..b761c73 100644 --- a/src/containers/PollCreation/PollCreation.tsx +++ b/src/containers/PollCreation/PollCreation.tsx @@ -83,7 +83,7 @@ const PollCreation: React.FC = () => { {user && } - +