diff --git a/src/components/about/PageTemplate.js b/src/components/about/PageTemplate.js index a9512c71..14846176 100644 --- a/src/components/about/PageTemplate.js +++ b/src/components/about/PageTemplate.js @@ -71,12 +71,34 @@ const PageTemplateWrapper = styled.article` } .content { - display: inline-flex; - align-items: flex-start; margin-top: 10px; + p { margin: 0; } + + @media ${({ theme }) => theme.device.desktop} { + display: inline-flex; + align-items: flex-start; + } + + @media ${({ theme }) => theme.device.mobile} { + overflow: hidden; + margin-top: 20px; + + img { + max-width: 100%; + height: 100%; + float: left; + clear: left; + } + } + + .div-aux { + float: left; + width: 0px; + height: 170px; + } } ` diff --git a/src/components/about/PhotoGridUtils.js b/src/components/about/PhotoGridUtils.js index 6c6f4816..ad50677a 100644 --- a/src/components/about/PhotoGridUtils.js +++ b/src/components/about/PhotoGridUtils.js @@ -2,25 +2,28 @@ import styled from 'styled-components/macro' const Grid = styled.div` @media ${({ theme }) => theme.device.mobile} { - grid-template-columns: 160px 160px; + grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 17px; margin-bottom: 17px; + justify-content: center; + float: 'top'; } @media ${({ theme }) => theme.device.desktop} { margin: 16px; gap: 8px; grid-template-columns: 156px auto; + float: ${(props) => props.float || 'right'}; } color: ${({ theme }) => theme.secondaryText}; - float: ${(props) => props.float || 'right'}; display: grid; ` const Image = styled.img` @media ${({ theme }) => theme.device.mobile} { - width: 160px; - height: 94px; + width: 100%; + max-height: 250px; + height: auto; } @media ${({ theme }) => theme.device.desktop} { width: 156px; diff --git a/src/components/about/ProjectPage.js b/src/components/about/ProjectPage.js index 48beb750..aecc1149 100644 --- a/src/components/about/ProjectPage.js +++ b/src/components/about/ProjectPage.js @@ -107,6 +107,7 @@ const Project = () => (

Staff

+

Executive Director
@@ -136,6 +137,7 @@ const Project = () => (

Board of directors

+

President
@@ -158,6 +160,7 @@ const Project = () => (

+

Craig Durkin
@@ -176,6 +179,7 @@ const Project = () => (

+

Emily Sigman
@@ -204,6 +208,7 @@ const Project = () => (

Board of advisors

+

Alan Gibson
@@ -226,6 +231,7 @@ const Project = () => (

+

Ana Carolina de Lima
@@ -246,6 +252,7 @@ const Project = () => (

+

Caleb Phillips
@@ -269,6 +276,7 @@ const Project = () => (

+

Cristina Rubke
@@ -295,6 +303,7 @@ const Project = () => (

+

David Craft
@@ -315,6 +324,7 @@ const Project = () => (

+

Tristram Stuart