File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed 
shared-ui/components/meet-the-team/team-column/mobile-team-column Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const StyledMobileTeamColumn = styled.div`
88const  LabelArrowContainer  =  styled . div ` 
99  display: flex; 
1010  justify-content: center; 
11+   align-items: center; 
1112` ; 
1213
1314const  MobileImageContainer  =  styled . div ` 
@@ -30,6 +31,7 @@ const StyledHeadshot = styled.img`
3031
3132const  StyledImageRow  =  styled . div ` 
3233  justify-content: center; 
34+   display: flex; 
3335` ; 
3436
3537const  StyledSecondaryButtonWrapper  =  styled . div ` 
@@ -42,7 +44,6 @@ const StyledSecondaryButtonWrapper = styled.div`
4244const  StyledLinkedIn  =  styled . a ` 
4345  color: white; 
4446  text-decoration: none; 
45-   display: inline-block; 
4647  width: 100%; 
4748  font-family: 'Nunito Sans', sans-serif; 
4849   
@@ -54,7 +55,12 @@ const StyledLinkedIn = styled.a`
5455    top: 0.1em; 
5556  } 
5657` 
57- 
58+ const  StyledPictureContainer  =  styled . div ` 
59+   display: flex; 
60+   flex-direction: column; 
61+   align-items: center; 
62+   margin: 1em; 
63+ ` ; 
5864
5965
6066export  { 
@@ -64,5 +70,6 @@ export {
6470  StyledImageRow , 
6571  StyledHeadshot , 
6672  StyledSecondaryButtonWrapper , 
67-   StyledLinkedIn 
73+   StyledLinkedIn , 
74+   StyledPictureContainer 
6875} ; 
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ import {
1313  StyledImageRow , 
1414  StyledHeadshot , 
1515  StyledSecondaryButtonWrapper , 
16-   StyledLinkedIn 
16+   StyledLinkedIn , 
17+   StyledPictureContainer 
1718}  from  './MobileTeamColumn.styles' ; 
1819import  SecondaryButton  from  '../../../secondary-button/SecondaryButton' ; 
1920import  linkedinLogo  from  '../../../../components/../images/meet-the-team/linkedin-logo.png' ; 
@@ -60,13 +61,13 @@ const MobileTeamColumn: React.FC<MobileTeamColumnProps> = ({
6061        { listOfPictures . map ( ( rowPics : Person [ ] ,  index )  =>  ( 
6162          < StyledImageRow  key = { `mobile-column-${ index }  } > 
6263            { rowPics . map ( ( person : Person )  =>  ( 
63-               < > 
64+               < StyledPictureContainer > 
6465                < StyledHeadshot  src = { person . picture }  key = { person . picture }  /> 
6566                < StyledLinkedIn  href = { person . linkedIn }  target = "_blank" > 
6667                  < img  src = { linkedinLogo }  /> 
6768                  { person . name } 
6869                </ StyledLinkedIn > 
69-               </ > 
70+               </ StyledPictureContainer > 
7071            ) ) } 
7172          </ StyledImageRow > 
7273        ) ) } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments