Skip to content

Commit

Permalink
[Chore/#33] 소속유니브 input field - list menu(검색결과) 사이 gap 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jaminleee committed Sep 4, 2024
1 parent 053d7af commit 26eda73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/information/Information.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
import { ChangeEvent, useState } from 'react';
import errorCircleIcon from '../../assets/svgs/ErrorCircleIcon.svg';
import Universities from '../../utilities/UnivData';
import { ChevronDownIcon } from '@goorm-dev/gds-icons';
import styles from './information.module.scss';

interface SeasonPartSelection {
Expand Down Expand Up @@ -162,7 +163,7 @@ export default function Information() {
</div>
<Input onChange={handleUnivSearch} value={searchValue || univ} size="lg" placeholder="대학교 명" />
{searchValue !== '' && (
<div style={{ marginTop: '0.3rem' }}>
<div>
<ListGroup>
{UnivArray.filter((item) => item.name.includes(searchValue)).map((item) => (
<ListGroupItem key={item.name} action onClick={() => handleUnivSelect(item.name)}>
Expand Down

0 comments on commit 26eda73

Please sign in to comment.