From 82eece4709fbc2d56f903038856e4e068896108c Mon Sep 17 00:00:00 2001 From: ppoffice Date: Thu, 4 Feb 2021 12:36:33 -0500 Subject: [PATCH] fix(widget): wrap icons in profile widget --- include/style/widget.styl | 3 +++ layout/widget/profile.jsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/style/widget.styl b/include/style/widget.styl index 172a7bf..0e900f8 100644 --- a/include/style/widget.styl +++ b/include/style/widget.styl @@ -25,3 +25,6 @@ .tag:last-child background: $light-grey color: $white-invert + +.level.is-multiline + flex-wrap: wrap diff --git a/layout/widget/profile.jsx b/layout/widget/profile.jsx index aa11b29..940d251 100644 --- a/layout/widget/profile.jsx +++ b/layout/widget/profile.jsx @@ -7,7 +7,7 @@ class Profile extends Component { if (!links.length) { return null; } - return
+ return
{links.filter(link => typeof link === 'object').map(link => { return