jbenet / depviz

dependency visualizer for the web
https://jbenet.github.io/depviz
MIT License
49 stars 10 forks source link

DepCard: Push the border rect beneath the icon/text #21

Closed wking closed 7 years ago

wking commented 7 years ago

I'd shifted this in #18 with some rough thoughts about clipping long slugs so they don't overflow the card. But it meant that the border rect masked the links provided by the icon and text. This commit shifts the border rect lower in the stack so you can get a click through to the active elements again. We'll need a more robust solution to clipping/overflow anyway.