Skip to content

Commit f8fd2d2

Browse files
author
samuelhakala
committed
changed toolbar items to grouped items
1 parent 4efdb96 commit f8fd2d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/toolbar.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,11 @@ export default class Toolbar extends React.Component {
381381
this.state.items.map(group => {
382382
return (
383383
<>
384-
<p>{group.name}</p>
384+
<p style={{textAlign: "center"}}>{group.name}</p>
385385
{
386386
group.items.map((item) => (<ToolbarItem data={item} key={item.key} onClick={this._onClick.bind(this, item)} onCreate={this.create} />))
387387
}
388+
<p></p>
388389
</>
389390
)
390391
})

0 commit comments

Comments
 (0)