Commit ac4fbdd5 authored by Hermann's avatar Hermann Committed by Hermann
Browse files

small styling changes

parent 88d868ba
...@@ -11,9 +11,7 @@ class GroupListItem { ...@@ -11,9 +11,7 @@ class GroupListItem {
title: name, title: name,
hoverable: true, hoverable: true,
rounded: true, rounded: true,
style: { style: { width: '250px' },
width: '250px',
},
url: { url: {
href: `/groups/${_id}`, href: `/groups/${_id}`,
oncreate: m.route.link, oncreate: m.route.link,
...@@ -37,7 +35,7 @@ class GroupListCard { ...@@ -37,7 +35,7 @@ class GroupListCard {
}), }),
]), ]),
m('div', { 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 }))), }, groups.map(item => m(GroupListItem, { name: item.name, _id: item._id }))),
]), ]),
})); }));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment