allow badges next to each other

This commit is contained in:
Bruno Windels 2020-12-02 09:43:36 +01:00
parent 8fb016a4f3
commit 517a5ccbea

View File

@ -83,7 +83,7 @@ class InstallClientView extends TemplateView {
return t.a({ return t.a({
href: a.url, href: a.url,
className: { className: {
fullwidth: true, fullwidth: !badgeUrl,
primary: a.primary && !badgeUrl, primary: a.primary && !badgeUrl,
secondary: !a.primary && !badgeUrl, secondary: !a.primary && !badgeUrl,
badge: !!badgeUrl, badge: !!badgeUrl,