@@ -4,19 +4,21 @@ import Popup from "reactjs-popup";
44import LargePortraitCard from "./LargePortraitCard" ;
55import Link from "@docusaurus/Link" ;
66
7-
87export function SubTeamDesktop ( {
98 description,
109 subTeam,
1110 subTeamAvatarsUrls,
1211 subTeamBioComponents,
1312} ) {
1413 return (
15- < div className = "main-container-with-margins" >
1614 < div className = { styles . subteam_component } >
1715 < h2 style = { { textAlign : "center" } } > { description } </ h2 >
1816 < div className = { "container" + " " + styles . subteam_container } >
19- < ul className = { "row" + " " + styles . row_custom } >
17+ < ul
18+ className = {
19+ "row" + " " + "row-padding-none" + " " + styles . row_with_margins
20+ }
21+ >
2022 { subTeam . map ( ( person , index ) => (
2123 < li className = "cards_list" key = { index } >
2224 < div className = "col" >
@@ -30,7 +32,12 @@ export function SubTeamDesktop({
3032 />
3133 </ div >
3234 }
33- overlayStyle = { { backgroundColor : "grey" , opacity : "0.4" , width : "100%" , height : "100%" } }
35+ overlayStyle = { {
36+ backgroundColor : "grey" ,
37+ opacity : "0.4" ,
38+ width : "100%" ,
39+ height : "100%" ,
40+ } }
3441 position = { "center center" }
3542 >
3643 < LargePortraitCard
@@ -45,7 +52,6 @@ export function SubTeamDesktop({
4552 </ ul >
4653 </ div >
4754 </ div >
48- </ div >
4955 ) ;
5056}
5157
@@ -54,15 +60,19 @@ export function SubTeamMobile({ description, subTeamAvatarsUrls, subTeam }) {
5460 < div className = { styles . subteam_component } >
5561 < h2 style = { { textAlign : "center" } } > { description } </ h2 >
5662 < div className = { "container" + " " + styles . subteam_container } >
57- < ul className = { "row" + " " + styles . row_custom } >
63+ < ul
64+ className = {
65+ "row" + " " + "row-flex-full-centered" + " " + "row-padding-none"
66+ }
67+ >
5868 { subTeam . map ( ( person , index ) => (
5969 < li className = "cards_list" key = { index } >
6070 < div className = "col" >
61- < Link href = { ' /about/' + person . firstName } >
62- < SmallPortraitCard
63- person = { person }
64- avatarUrl = { subTeamAvatarsUrls [ index ] }
65- > </ SmallPortraitCard >
71+ < Link href = { " /about/" + person . firstName } >
72+ < SmallPortraitCard
73+ person = { person }
74+ avatarUrl = { subTeamAvatarsUrls [ index ] }
75+ > </ SmallPortraitCard >
6676 </ Link >
6777 </ div >
6878 </ li >
0 commit comments