[Search] AutoScroll 위치 비정상 스타일 수정

Detail Notes :

1. 전체 여백 제외 후 필요한 컨텐츠마다 여백 추가
This commit is contained in:
jangheon Pyo
2024-02-29 13:14:01 +09:00
parent 2b70e37fdf
commit 8f9663d60b
3 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
.container {
margin: 94px 60px 0 60px;
margin-top: 94px;
}

View File

@@ -132,7 +132,11 @@ export default function SearchResultsType({ title, data, count, category }) {
return (
<>
<SectionTitle title={title} itemCount={count ? count : null} />
<SectionTitle
className={css.sectionTitle}
title={title}
itemCount={count ? count : null}
/>
<Container
className={classNames(css.container, category && css[category])}
>

View File

@@ -1,12 +1,18 @@
@import "../../../style/CommonStyle.module.less";
@import "../../../style/utils.module.less";
.sectionTitle {
padding-left: 60px;
}
.container {
> div {
.flex();
margin: 30px 0 50px;
width: 100%;
}
.grid {
padding-left: 60px;
}
&.theme {
.grid {