header fixes

This commit is contained in:
BFlat committed 2023-03-29 15:06:47 +07:00
1 parent 3ebe1eb5a4
commit c671f1dcca
2 files changed
+5 -4

No files matched your search

@@ -17,8 +17,9 @@ function PageHeader(props: Props) {
{props.titleIcon}
{props.title}
</h1>
<hr />
<p className="text-center text-md-start">{props.subText}</p>
<p className="text-center text-md-start opacity-75 pt-1">
{props.subText}
</p>
{props.showButtons && (
<div className="d-flex flex-column flex-md-row gap-3 justify-content-center justify-content-md-start mt-4">
{props.actionButtons}
@@ -31,11 +31,11 @@ function PageHeaderWithImage(props: Props) {
{props.title}
</h1>
<p className="text-center text-md-start opacity-75 pb-2 pt-1">
<p className="text-center text-md-start opacity-75 pt-1">
{props.subText}
</p>
{props.showButtons && (
<div className="d-flex gap-3 justify-content-center justify-content-md-start mt-4">
<div className="d-flex gap-3 justify-content-center justify-content-md-start mt-4 pt-2">
{props.actionButtons}
</div>
)}