From 31a205016f9e811ece59f3f1101a06ebcd846cd2 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sat, 11 Jan 2020 19:42:47 +0300 Subject: Markup initial Contribute page --- src/components/ContentSection/ContentSection.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/components/ContentSection/ContentSection.js') diff --git a/src/components/ContentSection/ContentSection.js b/src/components/ContentSection/ContentSection.js index d5b9340..fc431f3 100644 --- a/src/components/ContentSection/ContentSection.js +++ b/src/components/ContentSection/ContentSection.js @@ -9,8 +9,18 @@ import { const useStyles = makeStyles(theme => ({ content: { - padding: theme.spacing(2), - } + padding: theme.spacing(0, 2, 1, 2), + marginBottom: theme.spacing(1), + + '& a': { + color: theme.palette.secondary.light, + }, + '& .MuiButton-root': { + color: theme.palette.background.paper, + margin: theme.spacing(2, 2, 2, 0), + fontWeight: 'bold', + }, + }, })); const ContentSection = ({ sectionName, children }) => { -- cgit v1.2.3 From 02ddc8f3ed6858521480a3c3928f50ff40f34501 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sat, 11 Jan 2020 20:04:34 +0300 Subject: Edit description on Timer page, add 'Lean More' --- src/components/ContentSection/ContentSection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/ContentSection/ContentSection.js') diff --git a/src/components/ContentSection/ContentSection.js b/src/components/ContentSection/ContentSection.js index fc431f3..918c400 100644 --- a/src/components/ContentSection/ContentSection.js +++ b/src/components/ContentSection/ContentSection.js @@ -17,7 +17,7 @@ const useStyles = makeStyles(theme => ({ }, '& .MuiButton-root': { color: theme.palette.background.paper, - margin: theme.spacing(2, 2, 2, 0), + margin: theme.spacing(1, 2, 2, 0), fontWeight: 'bold', }, }, -- cgit v1.2.3 From 106d489a53e9069a74ed6b90984c15cc48a8823f Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sun, 12 Jan 2020 03:47:59 +0300 Subject: Perform cleanup, resolve warnings --- src/components/ContentSection/ContentSection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/ContentSection/ContentSection.js') diff --git a/src/components/ContentSection/ContentSection.js b/src/components/ContentSection/ContentSection.js index 918c400..99e76aa 100644 --- a/src/components/ContentSection/ContentSection.js +++ b/src/components/ContentSection/ContentSection.js @@ -30,9 +30,9 @@ const ContentSection = ({ sectionName, children }) => { <> {sectionName} -
+ {children} -
+ ); -- cgit v1.2.3