[트렌딩나우] 어너지라벨 추가수정

- 에너지 팝업 노출시 div 생성으로 인하여 스타일 변경 및 클래스 추가.
This commit is contained in:
junghoon86.park
2025-11-19 21:00:14 +09:00
parent 6e78c02ed8
commit 1747eb1326
2 changed files with 6 additions and 4 deletions

View File

@@ -359,6 +359,7 @@ const TrendingNowPanel = ({ panelInfo, spotlightId, isOnTop, ...rest }) => {
<div className={css.itemList}>
{bestSeller.map((item, index) => (
<TItemCardNew
className={css.trendingBestItem}
contextName={LOG_CONTEXT_NAME.TRENDING_NOW}
messageId={LOG_MESSAGE_ID.SHELF_CLICK}
shelfLocation={2}

View File

@@ -27,12 +27,13 @@
margin-top: 30px;
display: flex;
flex-wrap: wrap;
> div {
.trendingBestItem {
margin: 0 15px 15px 0;
&:nth-child(5n + 5){
margin:0;
}
}
> div:nth-child(5n + 5) {
margin: 0;
}
}
}
.tVerticalPagenator {