Skip to content

Commit

Permalink
Add detail description
Browse files Browse the repository at this point in the history
This is just static text, but it gives some basic context around what
these percentages mean.

Issue #61
  • Loading branch information
slifty committed Mar 27, 2019
1 parent 4fc29d7 commit e791fb6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/client/components/Sidebar/DetailPane/FlagChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ const Wrapper = styled.div`
`

const UsageDistributionHeader = styled.div`
font-family: Roboto;
font-size: 18px;
line-height: 24px;
margin-top: 30px;
`

const UsageDistributionDescription = styled.div`
font-family: Roboto;
font-size: 14px;
line-height: 19px;
margin-top: 10px;
`

const PercentageRow = styled.div`
margin-top: 30px;
display: flex;
Expand Down Expand Up @@ -80,6 +95,12 @@ class FlagChart extends React.Component {
return (
<>
<Wrapper>
<UsageDistributionHeader>
Usage Distribution
</UsageDistributionHeader>
<UsageDistributionDescription>
Here's the party breakdown for the instances this phrase appeared in analyzed sections of the congressional record.
</UsageDistributionDescription>
<PercentageRow>
<PercentageBox>
<RawPercentage>
Expand Down

0 comments on commit e791fb6

Please sign in to comment.