fix(widget): wrap icons in profile widget

pull/841/head
ppoffice 2021-02-04 12:36:33 -05:00
parent f03c21ee54
commit 82eece4709
No known key found for this signature in database
GPG Key ID: B33335481CC0D498
2 changed files with 4 additions and 1 deletions

View File

@ -25,3 +25,6 @@
.tag:last-child .tag:last-child
background: $light-grey background: $light-grey
color: $white-invert color: $white-invert
.level.is-multiline
flex-wrap: wrap

View File

@ -7,7 +7,7 @@ class Profile extends Component {
if (!links.length) { if (!links.length) {
return null; return null;
} }
return <div class="level is-mobile"> return <div class="level is-mobile is-multiline">
{links.filter(link => typeof link === 'object').map(link => { {links.filter(link => typeof link === 'object').map(link => {
return <a class="level-item button is-transparent is-marginless" return <a class="level-item button is-transparent is-marginless"
target="_blank" rel="noopener" title={link.name} href={link.url}> target="_blank" rel="noopener" title={link.name} href={link.url}>