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