File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { DEFAULT_PROFILE_PATH } from '../../../data/constants/config'
88const PersonProfile = styled . div `
99 width: 6rem;
1010 height: 6rem;
11+ flex-shrink: 0;
1112 background-image: url(${ ( props ) => props . image } );
1213 background-size: cover;
1314 background-position: center;
@@ -17,6 +18,7 @@ const PersonProfile = styled.div`
1718const PersonContainer = styled . li `
1819 display: flex;
1920 align-items: flex-start;
21+ overflow-wrap: anywhere;
2022 & + & {
2123 margin-top: 2rem;
2224 ${ media . mobile ( `
@@ -35,7 +37,6 @@ const PersonName = styled.div`
3537`
3638const PersonIntro = styled . p `
3739 margin-top: 0.8rem;
38- white-space: pre-wrap;
3940 a {
4041 color: ${ ( props ) => props . theme . colors . blue0 } ;
4142 }
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ import { IPerson } from '../../interfaces/IProgram'
1010import PersonListItem from '../../components/service/Home/PersonListItem'
1111import styled from 'styled-components'
1212
13+ const PageInfo = styled . div `
14+ margin: 2rem 0 3rem;
15+ `
1316const PersonList = styled . ul `
1417 margin-top: 2rem;
1518`
@@ -21,7 +24,7 @@ const OrganizingTeamPage: NextPage = (props: PageProps) => {
2124 return (
2225 < >
2326 < PageTitle title = { props . pageName } />
24- < div > { t ( 'label:organizingTeamInfo' ) } </ div >
27+ < PageInfo > { t ( 'label:organizingTeamInfo' ) } </ PageInfo >
2528 < Heading3 useGradient = { true } > { t ( 'label:staffList' ) } </ Heading3 >
2629 < PersonList >
2730 { list . map ( ( item , index ) => (
You can’t perform that action at this time.
0 commit comments