Skip to content

Commit 5f8ef39

Browse files
authored
Merge pull request #122 from pythonkr/main
Main
2 parents 9c0dc9a + 54e9a84 commit 5f8ef39

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

frontend/components/service/Home/PersonListItem.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { DEFAULT_PROFILE_PATH } from '../../../data/constants/config'
88
const 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`
1718
const 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
`
3638
const PersonIntro = styled.p`
3739
margin-top: 0.8rem;
38-
white-space: pre-wrap;
3940
a {
4041
color: ${(props) => props.theme.colors.blue0};
4142
}

frontend/pages/about/organizing-team.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import { IPerson } from '../../interfaces/IProgram'
1010
import PersonListItem from '../../components/service/Home/PersonListItem'
1111
import styled from 'styled-components'
1212

13+
const PageInfo = styled.div`
14+
margin: 2rem 0 3rem;
15+
`
1316
const 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) => (

0 commit comments

Comments
 (0)