[상품 디테일] 파트너사 아이콘 크기 조절

- partnrId 가 1일때 backgroundSize 43px 로 넣어둠.
This commit is contained in:
junghoon86.park
2025-10-31 13:22:30 +09:00
parent 08eb6af0ab
commit a3c672f584
2 changed files with 5 additions and 1 deletions

View File

@@ -693,6 +693,8 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
marqueeDisabled={false}
ariaLabel={ariaLabel}
logoImg={productData?.patncLogoPath}
patnrId={panelPatnrId}
/>
<TBody
className={css.tbody}

View File

@@ -35,6 +35,7 @@ export default function THeaderCustom({
children,
kind,
logoImg,
patnrId,
...rest
}) {
const convertedTitle = useMemo(() => {
@@ -71,7 +72,7 @@ export default function THeaderCustom({
onBackButtonFocus();
}
},[onBackButtonFocus])
return (
<Container className={classNames(css.tHeaderCustom, className)} {...rest}>
{onBackButton && (
@@ -93,6 +94,7 @@ export default function THeaderCustom({
className={css.centerImage}
style={{
backgroundImage: `url("${logoImg}")`,
backgroundSize: patnrId === "1" ? "43px 43px" : "contain",
}}
/>
)}