[트렌딩나우] 어너지라벨 추가수정
- 에너지 팝업 노출시 div 생성으로 인하여 스타일 변경 및 클래스 추가.
This commit is contained in:
@@ -359,6 +359,7 @@ const TrendingNowPanel = ({ panelInfo, spotlightId, isOnTop, ...rest }) => {
|
|||||||
<div className={css.itemList}>
|
<div className={css.itemList}>
|
||||||
{bestSeller.map((item, index) => (
|
{bestSeller.map((item, index) => (
|
||||||
<TItemCardNew
|
<TItemCardNew
|
||||||
|
className={css.trendingBestItem}
|
||||||
contextName={LOG_CONTEXT_NAME.TRENDING_NOW}
|
contextName={LOG_CONTEXT_NAME.TRENDING_NOW}
|
||||||
messageId={LOG_MESSAGE_ID.SHELF_CLICK}
|
messageId={LOG_MESSAGE_ID.SHELF_CLICK}
|
||||||
shelfLocation={2}
|
shelfLocation={2}
|
||||||
|
|||||||
@@ -27,12 +27,13 @@
|
|||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
> div {
|
.trendingBestItem {
|
||||||
margin: 0 15px 15px 0;
|
margin: 0 15px 15px 0;
|
||||||
|
&:nth-child(5n + 5){
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
> div:nth-child(5n + 5) {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tVerticalPagenator {
|
.tVerticalPagenator {
|
||||||
|
|||||||
Reference in New Issue
Block a user