fix(regression): admin header styling messed up

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz 2023-02-13 21:14:52 +01:00
parent 748cca6d12
commit f8d856028d
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -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>,

View File

@ -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>