diff --git a/apps/voting/app/src/components/VotePanelContent.js b/apps/voting/app/src/components/VotePanelContent.js index c256712ef1..9f9c026b86 100644 --- a/apps/voting/app/src/components/VotePanelContent.js +++ b/apps/voting/app/src/components/VotePanelContent.js @@ -4,6 +4,7 @@ import styled from 'styled-components' import Blockies from 'react-blockies' import { Button, + IdentityBadge, Info, SafeLink, SidePanelSplit, @@ -11,6 +12,7 @@ import { Countdown, Text, theme, + BreakPoint, } from '@aragon/ui' import provideNetwork from '../utils/provideNetwork' import { VOTE_NAY, VOTE_YEA } from '../vote-types' @@ -135,6 +137,7 @@ class VotePanelContent extends React.Component { network: { etherscanBaseUrl }, vote, ready, + shorten, tokenSymbol, tokenDecimals, } = this.props @@ -220,23 +223,7 @@ class VotePanelContent extends React.Component { Created By - - - - - - {etherscanBaseUrl ? ( - - {creator} - - ) : ( - creator - )} - - + @@ -340,6 +327,17 @@ class VotePanelContent extends React.Component { } } +const ResponsiveVotePanelContent = props => ( + + + + + + + + +) + const Label = styled(Text).attrs({ smallcaps: true, color: theme.textSecondary, @@ -404,4 +402,4 @@ const VotingButton = styled(Button)` } ` -export default provideNetwork(VotePanelContent) +export default provideNetwork(ResponsiveVotePanelContent)
- {etherscanBaseUrl ? ( - - {creator} - - ) : ( - creator - )} -