Skip to content

Commit

Permalink
Merge pull request #267 from Team-TenTen/feature/#264/style-dropdown
Browse files Browse the repository at this point in the history
드롭다운 목록 스타일 수정
  • Loading branch information
dudwns authored Dec 4, 2023
2 parents 0d0801c + cebf305 commit 7b01975
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/TagInput/TagInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const TagInput = ({
</span>
)}
{isFocused && filteredTags && filteredTags.length > 0 && (
<ul className="select-tag-list absolute mt-2 flex flex-col overflow-y-scroll rounded-md border border-slate5 bg-bgColor px-2 py-2 shadow-lg">
<ul className="horizontal-scroll select-tag-list absolute mt-2 flex flex-col overflow-y-scroll rounded-md border border-slate5 bg-bgColor px-2 py-2 shadow-lg">
{filteredTags.map((tag) => (
<li
className="rounded-md px-1 py-1 hover:bg-slate1"
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Dropdown = ({
className={cls(
'flex flex-col rounded-md border border-slate6 bg-bgColor p-2 shadow-lg',
isOpen
? 'absolute right-0 z-10 mt-2 max-h-[40vh] min-w-max origin-top-right overflow-scroll'
? 'horizontal-scroll absolute right-0 z-10 mt-2 max-h-[40vh] min-w-max origin-top-right overflow-y-scroll'
: 'hidden',
PLACEMENTS[placement],
)}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Sidebar = ({ isSidebarOpen, onClose }: SidebarProps) => {
)}>
<div
className={cls(
'absolute flex h-full w-full max-w-[300px] flex-col justify-between overflow-scroll rounded-l-xl bg-bgColor px-2 pb-1 pt-6',
'horizontal-scroll absolute flex h-full w-full max-w-[300px] flex-col justify-between overflow-scroll rounded-l-xl bg-bgColor px-2 pb-1 pt-6',
isOpen ? 'animate-openSidebar' : 'animate-closeSidebar',
)}>
<div className="flex flex-col">
Expand Down

0 comments on commit 7b01975

Please sign in to comment.