Skip to content

Commit

Permalink
DaoSettings: add bottom margin on app items (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
AquiGorka committed Mar 5, 2019
1 parent 9072e3b commit 1c60811
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/apps/Settings/DaoSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class DaoSettings extends React.PureComponent {
)

return (
<li title={description} key={checksummedProxyAddress}>
<AppItem title={description} key={checksummedProxyAddress}>
<Label>
{name}
{tags.length > 0 ? ` (${tags.join(', ')})` : ''}
Expand All @@ -154,7 +154,7 @@ class DaoSettings extends React.PureComponent {
entity={checksummedProxyAddress}
shorten={shortAddresses}
/>
</li>
</AppItem>
)
}
)}
Expand Down Expand Up @@ -185,6 +185,10 @@ const Label = styled.label`
text-transform: uppercase;
`

const AppItem = styled.li`
margin-bottom: 24px;
`

export default props => (
<Viewport>
{({ below }) => <DaoSettings {...props} shortAddresses={below('medium')} />}
Expand Down

0 comments on commit 1c60811

Please sign in to comment.