[Homepanel] style 수정

- 각페이지별 스타일 수정
This commit is contained in:
junghoon86.park
2024-02-13 11:25:46 +09:00
parent f75a9657db
commit 43c5716873
11 changed files with 79 additions and 94 deletions

View File

@@ -1,18 +1,26 @@
import React, { useCallback, useEffect, useRef, useState } from "react";
import React, {
useCallback,
useEffect,
useRef,
useState,
} from 'react';
import classNames from "classnames";
import { useSelector } from "react-redux";
import { useSelector } from 'react-redux';
import VirtualGridList from "@enact/sandstone/VirtualList";
import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator";
import Spottable from "@enact/spotlight/Spottable";
import ri from "@enact/ui/resolution";
import VirtualGridList from '@enact/sandstone/VirtualList';
import {
SpotlightContainerDecorator,
} from '@enact/spotlight/SpotlightContainerDecorator';
import SectionTitle from "../../../components/SectionTitle/SectionTitle";
import TGrid from "../../../components/TGrid/TGrid";
import { $L } from "../../../utils/helperMethods";
import css from "./BestSeller.module.less";
import BestSellerItem from "./BestSellerItem/BestSellerItem";
import SectionTitle from '../../../components/SectionTitle/SectionTitle';
import TGrid from '../../../components/TGrid/TGrid';
import {
$L,
scaleH,
scaleW,
} from '../../../utils/helperMethods';
import css from './BestSeller.module.less';
import BestSellerItem from './BestSellerItem/BestSellerItem';
const Container = SpotlightContainerDecorator(
{ enterTo: "last-focused", leaveFor: { left: "", right: "" } },
@@ -50,12 +58,12 @@ const BestSeller = () => {
horizontalScrollbar="hidden"
itemRenderer={renderItem}
itemSize={{
minWidth: ri.scale(324 * 2),
minHeight: ri.scale(438 * 2),
minWidth: scaleW(324),
minHeight: scaleH(438),
}}
noScrollByWheel
scrollMode="translate"
spacing={ri.scale(18 * 2)}
spacing={scaleW(18)}
/>
)}
</TGrid>