Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font sizes updated #56

Merged
merged 9 commits into from Jul 10, 2019
25 changes: 22 additions & 3 deletions src/client/components/EducationHistoryTile.js
Expand Up @@ -13,14 +13,33 @@ const EducationHistoryTile = ({
}) => (
<SingleEducationItem>
<div>
<Text.Block size="large">{educationHistoryData.organization}</Text.Block>
<Text.Block size="normal">
<Text.Block
css={`
font-size: 16px;
line-height: 1.8;
font-weight: bold;
rkzel marked this conversation as resolved.
Show resolved Hide resolved
`}
>
{educationHistoryData.organization}
</Text.Block>
<Text.Block
css={`
font-size: 15px;
line-height: 1.8;
`}
>
{educationHistoryData.degree}
{educationHistoryData.fieldOfStudy
? ', ' + educationHistoryData.fieldOfStudy
: ''}
</Text.Block>
<Dates>{displayStartEndDates(educationHistoryData)}</Dates>
<Dates
css={`
font-size: 12px;
`}
>
{displayStartEndDates(educationHistoryData)}
</Dates>
</div>
<Icons>
<Button onClick={() => openModal()}>
Expand Down
8 changes: 7 additions & 1 deletion src/client/components/EducationPanel.js
Expand Up @@ -35,7 +35,13 @@ const EducationPanel = () => {
))
) : (
<Center>
<Text size="xlarge">You have no education</Text>
<Text
css={`
font-size: 15px;
`}
>
You have no education
</Text>
{!viewMode && (
<Text
css={`
Expand Down
8 changes: 7 additions & 1 deletion src/client/components/WorkHistoryPanel.js
Expand Up @@ -33,7 +33,13 @@ const WorkHistoryPanel = () => {
))
) : (
<Center>
<Text size="xlarge">You have no work history</Text>
<Text
css={`
font-size: 15px;
`}
>
You have no work history
</Text>
{!viewMode && (
<Text
css={`
Expand Down
19 changes: 13 additions & 6 deletions src/client/components/WorkHistoryTile.js
Expand Up @@ -10,31 +10,38 @@ const WorkHistoryTile = ({ workHistoryData, openModal, removeItem }) => (
<SingleWorkItem>
<Details>
<Text.Block
size="large"
css={`
font-weight: 700;
font-size: 16px;
line-height: 1.8;
font-weight: bold;
rkzel marked this conversation as resolved.
Show resolved Hide resolved
`}
>
{workHistoryData.workPlace}
</Text.Block>
<Text.Block
size="normal"
css={`
font-weight: 600;
font-size: 16px;
`}
>
{workHistoryData.jobTitle}
<Text
size="xsmall"
color={theme.textTertiary}
css={`
margin-left: 13px;
font-size: 12px;
`}
>
{displayStartEndDates(workHistoryData)}
</Text>
</Text.Block>
<Text.Block size="normal">{workHistoryData.description}</Text.Block>
<Text.Block
css={`
font-size: 14px;
font-weight: normal;
`}
>
{workHistoryData.description}
</Text.Block>
</Details>
<Icons>
<IconPencil
Expand Down
3 changes: 2 additions & 1 deletion src/client/components/informationPanel/InformationCard.js
Expand Up @@ -318,9 +318,10 @@ const Link = styled(SafeLink).attrs({
const Verified = styled(IconVerified)`
margin-left: 8px;
`
const EthAddr = styled(Text).attrs({ size: 'small' })`
const EthAddr = styled(Text)`
color: ${theme.textTertiary};
word-break: break-all;
font-size: 12px;
rkzel marked this conversation as resolved.
Show resolved Hide resolved
`
const Icons = styled.div`
position: absolute;
Expand Down