header image flex wrap

This commit is contained in:
BFlat committed 2024-03-04 23:28:41 +07:00
1 parent 6335932c31
commit 84697cf1c5
1 file changed
+2 -2
@@ -22,9 +22,9 @@ function PageHeaderWithImage(props: Props) {
<div className="row gx-3">
<div className="col-12 col-md-7 py-3 py-lg-4">
<div className="py-3">
<h1 className="fw-bold text-center text-md-start d-flex justify-content-center justify-content-md-start align-items-center">
<h1 className="fw-bold text-center text-md-start d-flex justify-content-center justify-content-md-start align-items-center flex-wrap gap-3">
{props.titleIcon && (
<FontAwesomeIcon icon={props.titleIcon} className="me-3 fs-2" />
<FontAwesomeIcon icon={props.titleIcon} className="fs-2" />
)}
{props.title}
</h1>