From b128333f022e67a68d25651b8afd66d2e8cd7009 Mon Sep 17 00:00:00 2001 From: "Henrique V. Ehrenfried" <hvehrenfried@inf.ufpr.br> Date: Thu, 28 Jan 2021 08:24:37 -0300 Subject: [PATCH] Center content in carousel at homepage Signed-off-by: Henrique V. Ehrenfried <hvehrenfried@inf.ufpr.br> --- src/Components/AreasSubPages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/AreasSubPages.js b/src/Components/AreasSubPages.js index 0b7cc763..7765fcec 100644 --- a/src/Components/AreasSubPages.js +++ b/src/Components/AreasSubPages.js @@ -73,7 +73,7 @@ class ReqResources extends Component { <Carousel showThumbs={false} infiniteLoop={true} showStatus={false}> { rows.map((row, index) => ( - <Row style={{ paddingBottom: "5px", margin:'0 auto', width:"80%"}} key={(index+1)}> + <Row style={{ paddingBottom: "5px", margin:'0 auto', width:"80%", justifyContent: "center"}} key={(index+1)}> {row.map((card) => ( <div style={{marginLeft:10, display: 'flex' }} key={card.id*(index+1)}> <ResourceCardFunction @@ -141,7 +141,7 @@ class ReqCollections extends Component { <Carousel showThumbs={false} infiniteLoop={true} showStatus={false}> { rows.map((row, index) => ( - <Row style={{ paddingBottom: "5px", margin:'0 auto', width:"80%" }} key={(index+1)}> + <Row style={{ paddingBottom: "5px", margin:'0 auto', width:"80%", justifyContent: "center" }} key={(index+1)}> {row.map((card) => ( <div style={{marginLeft:10, display: 'flex' }} key={card.id*(index+1)}> <CollectionCardFunction -- GitLab