Skip to content

Commit

Permalink
fix: transfer view styling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
r0man1337 committed Dec 12, 2024
1 parent e795852 commit cfcfcb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion client/src/ui/components/trading/SelectResources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export const SelectResources = ({
</Button>
)}
<ListSelect
className="overflow-hidden"
options={options}
value={selectedResourceIds[index]}
onChange={(value) => {
Expand Down
4 changes: 2 additions & 2 deletions client/src/ui/elements/ListSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ function ListSelect(props: ListSelectProps) {
leaveFrom="opacity-100"
leaveTo="opacity-0"
>
<div className="fixed z-50 mt-1 w-min text-xs">
<div className="absolute top-[100%] z-50 w-min text-xs">
<Listbox.Options
className={clsx(
"z-50 mt-3 w-full rounded-md py-1 max-h-72 overflow-scroll z-100 border border-gold/10 no-scrollbar",
"z-50 mt-2 w-full rounded-md py-1 max-h-72 overflow-scroll z-100 border border-gold/10 no-scrollbar",
props.style === "black" ? "bg-brown" : " bg-brown",
)}
>
Expand Down

0 comments on commit cfcfcb2

Please sign in to comment.