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