[상품 디테일] 파트너사 아이콘 크기 조절
- partnrId 가 1일때 backgroundSize 43px 로 넣어둠.
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user