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

- 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} marqueeDisabled={false}
ariaLabel={ariaLabel} ariaLabel={ariaLabel}
logoImg={productData?.patncLogoPath} logoImg={productData?.patncLogoPath}
patnrId={panelPatnrId}
/> />
<TBody <TBody
className={css.tbody} className={css.tbody}

View File

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