1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 23:14:29 +02:00

Restyle posts to be more compact, relocate controls

This commit is contained in:
Toby Zerner
2015-09-08 10:29:00 +09:30
parent 6a5427b600
commit efff485d6c
3 changed files with 42 additions and 28 deletions

View File

@@ -45,13 +45,7 @@ export default class Post extends Component {
return (
<div>
{controls.length ? Dropdown.component({
children: controls,
className: 'Post-controls',
buttonClassName: 'Button Button--icon Button--flat',
menuClassName: 'Dropdown-menu--right',
icon: 'ellipsis-v'
}) : ''}
{this.content()}
</div>