[테마부분의 에너지 라벨 노출]
- 에너지 라벨 목업데이터 제거 및 받아와서 데이터 노출되도록 처리 - 에너지 라벨 관련 처리. max-height: 800px로 제한.
This commit is contained in:
@@ -248,6 +248,7 @@ export default function ThemeContents({
|
|||||||
handleItemFocus?.(index);
|
handleItemFocus?.(index);
|
||||||
}}
|
}}
|
||||||
onMouseEnter={() => Spotlight.focus(spotlightItemId)}
|
onMouseEnter={() => Spotlight.focus(spotlightItemId)}
|
||||||
|
euEnrgLblInfos={euEnrgLblInfos}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ export default function ThemeItemCard({
|
|||||||
spotlightId,
|
spotlightId,
|
||||||
dataSpotlightDefault,
|
dataSpotlightDefault,
|
||||||
onFocused,
|
onFocused,
|
||||||
|
euEnrgLblInfos
|
||||||
}) {
|
}) {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const [isFocused, setIsFocused] = useState(false);
|
const [isFocused, setIsFocused] = useState(false);
|
||||||
@@ -211,9 +212,9 @@ export default function ThemeItemCard({
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)} */}
|
)} */}
|
||||||
{/* {mockEnergyLabel && mockEnergyLabel.length > 0 && (
|
{euEnrgLblInfos && euEnrgLblInfos.length > 0 && (
|
||||||
<div className={css.energyLabels}>
|
<div className={css.energyLabels}>
|
||||||
{mockEnergyLabel.map((label, labelIndex) => (
|
{euEnrgLblInfos.map((label, labelIndex) => (
|
||||||
<SpottableTemp
|
<SpottableTemp
|
||||||
key={labelIndex}
|
key={labelIndex}
|
||||||
spotlightDisabled={Boolean(!cursorVisible)}
|
spotlightDisabled={Boolean(!cursorVisible)}
|
||||||
@@ -228,7 +229,7 @@ export default function ThemeItemCard({
|
|||||||
</SpottableTemp>
|
</SpottableTemp>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)} */}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</SpottableDiv>
|
</SpottableDiv>
|
||||||
{(() => {
|
{(() => {
|
||||||
|
|||||||
@@ -220,3 +220,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.energyImage {
|
||||||
|
max-height:800px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user