mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
fixed right pulling of actionbutton and changed subtitle headline for validator purpose
This commit is contained in:
@@ -25,10 +25,12 @@ class Page extends React.Component<Props> {
|
|||||||
<Title title={title} />
|
<Title title={title} />
|
||||||
<Subtitle subtitle={subtitle} />
|
<Subtitle subtitle={subtitle} />
|
||||||
</div>
|
</div>
|
||||||
<div className="column is-two-fifths is-pulled-right">
|
<div className="column is-two-fifths">
|
||||||
|
<div className="is-pulled-right">
|
||||||
{this.renderPageActions()}
|
{this.renderPageActions()}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<ErrorNotification error={error} />
|
<ErrorNotification error={error} />
|
||||||
{this.renderContent()}
|
{this.renderContent()}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class Subtitle extends React.Component<Props> {
|
|||||||
render() {
|
render() {
|
||||||
const { subtitle } = this.props;
|
const { subtitle } = this.props;
|
||||||
if (subtitle) {
|
if (subtitle) {
|
||||||
return <h1 className="subtitle">{subtitle}</h1>;
|
return <h2 className="subtitle">{subtitle}</h2>;
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user