Skip to content

Commit

Permalink
fix: 패딩 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Taew00k committed Jan 24, 2025
1 parent d03d3e6 commit 4114282
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/pages/searchResultPage/SearchResultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ const SearchResultPage = () => {
<FilterTypeBox activeFilters={activeFilters} />
</div>
{templestays.length === 0 ? (
<SearchEmpty text={searchText} />
<div className={styles.emptyContainer}>
<SearchEmpty text={searchText} />
</div>
) : (
<div className={styles.bodyContainer}>
<SearchCardList
Expand Down
6 changes: 5 additions & 1 deletion src/pages/searchResultPage/searchResultPage.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const headerContainer = style({
alignItems: 'center',
paddingTop: '1rem',
marginBottom: '1rem',
zIndex: 5,
zIndex: 3,
});

export const bodyContainer = style({
Expand All @@ -31,3 +31,7 @@ export const bodyContainer = style({
paddingBottom: '4.4rem',
gap: '3.2rem',
});

export const emptyContainer = style({
paddingTop: '12.2rem',
});

0 comments on commit 4114282

Please sign in to comment.