Skip to content

Commit

Permalink
πŸ’„ : #492 - FootPrintFilter μ»΄ν¬λ„ŒνŠΈ 검색 λ²„νŠΌ CSS κ΅¬ν˜„
Browse files Browse the repository at this point in the history
  • Loading branch information
MinwooP committed Mar 28, 2024
1 parent 5210f92 commit 659b773
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Dropdown } from '@/components';
import { Dropdown, Icon } from '@/components';
import { useGetMyPlansForFootprintQuery } from '@/hooks/apis';
import classNames from 'classnames';
import React, { useEffect, useMemo, useState } from 'react';
Expand Down Expand Up @@ -76,9 +76,11 @@ export default function FootPrintFilter({
classNameList={['footprint-filter__dropdown--filter']}
/>

<div
<button
className={classNames('footprint-filter__search-btn')}
onClick={handleClickSearchBtn}>{`검색`}</div>
onClick={handleClickSearchBtn}>
<Icon name={'SEARCH'} color={'white-100'} size="lg" />
</button>
</div>
);
}
11 changes: 10 additions & 1 deletion src/app/footprints/_Components/FootPrintFilter/index.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
.footprint-filter {
display: flex;
justify-content: space-between;
gap: 0.75rem;
align-items: center;

&__search-btn {
&:hover {
cursor: pointer;
}
display: flex;
justify-content: center;
padding: 0.25rem;
align-items: center;
border-radius: 10px;
background-color: var(--origin-primary);
}
}

0 comments on commit 659b773

Please sign in to comment.