Skip to content

Commit

Permalink
Merge pull request #21 from wking/border-rect-under-icon-text
Browse files Browse the repository at this point in the history
DepCard: Push the border rect beneath the icon/text
  • Loading branch information
jbenet authored Nov 28, 2016
2 parents 5226d3c + b59928e commit 3e9bafb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webapp/src/DepCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ class DepCard extends PureComponent {
rx={radius} ry={radius} style={backgroundStyle}>
</rect>
<path d={taskPath.join(' ')} style={taskStyle} />
<rect
x={left} y={top} width={width} height={height}
rx={radius} ry={radius} style={style}>
</rect>
<a xlinkHref={host}>
<image
x={leftCenter} y={this.props.cy - 0.4 * height}
Expand All @@ -138,10 +142,6 @@ class DepCard extends PureComponent {
{this.props.slug.replace(/^[^\/]*\//, '')}
</text>
</a>
<rect
x={left} y={top} width={width} height={height}
rx={radius} ry={radius} style={style}>
</rect>
<DepIndicators
cx={right} cy={this.props.cy} dy={height/2}
blockers={this.props.blockers}
Expand Down

0 comments on commit 3e9bafb

Please sign in to comment.