mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 12:48:28 +08:00
fix(regression): admin header styling messed up
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
748cca6d12
commit
f8d856028d
|
@ -7,10 +7,10 @@ export default class AdminHeader extends Component {
|
|||
return [
|
||||
<div className={classList(['AdminHeader', this.attrs.className])}>
|
||||
<div className="container">
|
||||
<h1>
|
||||
<h2>
|
||||
{icon(this.attrs.icon)}
|
||||
{vnode.children}
|
||||
</h1>
|
||||
</h2>
|
||||
<div className="AdminHeader-description">{this.attrs.description}</div>
|
||||
</div>
|
||||
</div>,
|
||||
|
|
|
@ -82,7 +82,7 @@ export default class ExtensionPage<Attrs extends ExtensionPageAttrs = ExtensionP
|
|||
{this.extension.icon ? icon(this.extension.icon.name) : ''}
|
||||
</span>
|
||||
<div className="ExtensionName">
|
||||
<h1>{this.extension.extra['flarum-extension'].title}</h1>
|
||||
<h2>{this.extension.extra['flarum-extension'].title}</h2>
|
||||
</div>
|
||||
<div className="ExtensionPage-headerTopItems">
|
||||
<ul>{listItems(this.topItems().toArray())}</ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user