Merged in feature/IO-2626-CSI-Pages (pull request #1267)

IO-2626 Adjust Image Prop on customer page
This commit is contained in:
Allan Carr
2024-02-08 17:58:21 +00:00

View File

@@ -143,7 +143,12 @@ export function CsiContainerPage({ currentUser }) {
>
<div style={{ display: "flex", alignItems: "center", margin: "2em" }}>
{bodyshop.logo_img_path && bodyshop.logo_img_path.src ? (
<img src={bodyshop.logo_img_path.src} alt="Logo" />
<img
src={bodyshop.logo_img_path.src}
alt={bodyshop.shopname.concat(" Logo")}
height={bodyshop.logo_img_path.height}
width={bodyshop.logo_img_path.width}
/>
) : null}
<div style={{ margin: "2em", verticalAlign: "middle" }}>
<Typography.Title level={4} style={{ margin: 0 }}>