Skip to content

Commit

Permalink
[explorer] - fix search styling (MystenLabs#8380)
Browse files Browse the repository at this point in the history
search box styles were off following the css reset changes. fixed the
styling issues and removed some unnecessary css to be more resilient
against future changes
  • Loading branch information
mamos-mysten authored Feb 17, 2023
1 parent 229a845 commit e009238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/explorer/src/ui/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function Search({
nullable
onChange={onSelectResult}
as="div"
className="relative flex h-fit w-full flex-col"
className="relative w-full"
>
<Combobox.Input
spellCheck={false}
Expand All @@ -84,7 +84,7 @@ export function Search({
</div>

{queryValue && (
<Combobox.Options className="absolute right-0 left-0 top-6 flex list-none flex-col gap-y-2 overflow-auto rounded-md bg-white p-3.5 shadow-md">
<Combobox.Options className="absolute mt-1 w-full list-none space-y-2 rounded-md bg-white p-3.5 shadow-md">
{isLoading ? (
<div className="flex items-center justify-center">
<LoadingSpinner />
Expand Down

0 comments on commit e009238

Please sign in to comment.