fix(widget): wrap icons in profile widget
parent
f03c21ee54
commit
82eece4709
|
@ -25,3 +25,6 @@
|
|||
.tag:last-child
|
||||
background: $light-grey
|
||||
color: $white-invert
|
||||
|
||||
.level.is-multiline
|
||||
flex-wrap: wrap
|
||||
|
|
|
@ -7,7 +7,7 @@ class Profile extends Component {
|
|||
if (!links.length) {
|
||||
return null;
|
||||
}
|
||||
return <div class="level is-mobile">
|
||||
return <div class="level is-mobile is-multiline">
|
||||
{links.filter(link => typeof link === 'object').map(link => {
|
||||
return <a class="level-item button is-transparent is-marginless"
|
||||
target="_blank" rel="noopener" title={link.name} href={link.url}>
|
||||
|
|
Loading…
Reference in New Issue