Skip to content
Snippets Groups Projects
Commit 5deb5976 authored by Hermann's avatar Hermann
Browse files

move restyling of h1 to general style settings

parent 8605241b
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ export default class viewGroup extends ItemView {
return this.layout([
// this div is the title line
m('div.maincontainer', [
m('h1', { style: { 'margin-top': '0px', 'margin-bottom': '0px' } }, this.data.name),
m('h1', this.data.name),
this.data.moderator ? m(Property, {
title: 'Moderator',
onclick: () => { m.route.set(`/users/${this.data.moderator._id}`); },
......
......@@ -43,6 +43,10 @@ const style = [
'flex-grow': 1,
padding: '10px',
},
h1: {
'margin-top': '0px',
'margin-bottom': '0px',
},
},
];
styler.add('containers', style);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment