diff --git a/src/Components/AreasSubPages.js b/src/Components/AreasSubPages.js index 0b7cc763bcc679b220f2caa1c41d85796cb7cf12..7765fcec0d09d58a4eb38136bd0e6b1f8156e7ae 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