From ac4fbdd56c066769e252a9d46aa445c2a58842e3 Mon Sep 17 00:00:00 2001 From: Hermann <blumh@ethz.ch> Date: Thu, 7 Feb 2019 00:00:04 +0100 Subject: [PATCH] small styling changes --- src/groups/list.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/groups/list.js b/src/groups/list.js index 5a59b1f..9fce866 100644 --- a/src/groups/list.js +++ b/src/groups/list.js @@ -11,9 +11,7 @@ class GroupListItem { title: name, hoverable: true, rounded: true, - style: { - width: '250px', - }, + style: { width: '250px' }, url: { href: `/groups/${_id}`, oncreate: m.route.link, @@ -37,7 +35,7 @@ class GroupListCard { }), ]), m('div', { - style: { display: 'flex', 'flex-wrap': 'wrap', 'margin-bottom': '5px' }, + style: { display: 'flex', 'flex-wrap': 'wrap', margin: '0px 5px 5px 5px' }, }, groups.map(item => m(GroupListItem, { name: item.name, _id: item._id }))), ]), })); -- GitLab