mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +01:00
added underline to header part of page when buttonactions set
This commit is contained in:
@@ -39,21 +39,21 @@ class Page extends React.Component<Props> {
|
||||
pageActionsExists = true;
|
||||
}
|
||||
});
|
||||
let underline = pageActionsExists ? <hr className="header-with-actions" /> : null;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={
|
||||
pageActionsExists ? "columns page-header-with-actions" : "columns"
|
||||
}
|
||||
>
|
||||
<div className="column">
|
||||
<Title title={title} />
|
||||
<Subtitle subtitle={subtitle} />
|
||||
<>
|
||||
<div className="columns">
|
||||
<div className="column">
|
||||
<Title title={title} />
|
||||
<Subtitle subtitle={subtitle} />
|
||||
</div>
|
||||
<div className="column is-two-fifths">
|
||||
<div className="is-pulled-right">{content}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="column is-two-fifths">
|
||||
<div className="is-pulled-right">{content}</div>
|
||||
</div>
|
||||
</div>
|
||||
{underline}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,9 +42,11 @@ $info: $blue;
|
||||
min-height: calc(100vh - 260px);
|
||||
}
|
||||
|
||||
// top section when pageactions set
|
||||
.page-header-with-actions {
|
||||
border-bottom: 1px solid $primary;
|
||||
// shown in top section when pageactions set
|
||||
hr.header-with-actions {
|
||||
height: 1px;
|
||||
margin-top: -10px;
|
||||
background-color: $primary;
|
||||
}
|
||||
|
||||
.footer {
|
||||
|
||||
Reference in New Issue
Block a user