Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: now search input is no longer squised on non-macOS devices #3487

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions components/organisms/SearchDialog/search-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ const SearchDialog = () => {
<SearchInfo />
) : isSearchError && !isSearching && (repoDataError || repoData.length === 0) ? (
<Text className="block w-full py-1 px-4 text-sauced-orange !font-normal leading-6">
<HiOutlineExclamation className="text-sauced-orange inline-flex mr-2.5" fontSize={20} />
We couldn&apos;t find any users or repositories with that name
</Text>
<HiOutlineExclamation className="text-sauced-orange inline-flex mr-2.5" fontSize={20} />
We couldn&apos;t find any users or repositories with that name
</Text>
) : (
<>
<section className="flex flex-col w-full">{renderUserSearchState()}</section>
Expand Down Expand Up @@ -200,7 +200,9 @@ const SearchDialogTrigger = () => {
return (
<>
<div
className="hidden sm:flex justify-between p-1 pl-3 h-fit w-56 ml-auto bg-white border rounded-lg ring-light-slate-6 relative overflow-hidden"
className={`hidden sm:flex justify-between p-1 pl-3 h-fit ${
isMac ? "w-56" : "w-64"
} ml-auto bg-white border rounded-lg ring-light-slate-6 relative overflow-hidden`}
onClick={() => setOpenSearch(true)}
>
<div className="flex items-center">
Expand Down
Loading