small tweaks

This commit is contained in:
Josh Hawkins 2024-09-12 14:21:35 -05:00
parent 764d80e1d9
commit 0f85c8575b
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ export function shareOrCopy(url: string, title?: string) {
}); });
} else { } else {
copy(url); copy(url);
toast.success("Copied to clipboard.", { toast.success("Copied URL to clipboard.", {
position: "top-center", position: "top-center",
}); });
} }

View File

@ -60,7 +60,7 @@ export default function ExploreView({ onSelectSearch }: ExploreViewProps) {
} }
return ( return (
<div className="scrollbar-container mx-2 space-y-4 overflow-x-hidden"> <div className="mx-2 space-y-4">
{Object.entries(eventsByLabel).map(([label, filteredEvents]) => ( {Object.entries(eventsByLabel).map(([label, filteredEvents]) => (
<ThumbnailRow <ThumbnailRow
key={label} key={label}

View File

@ -215,7 +215,7 @@ export default function SearchView({
</div> </div>
)} )}
{!uniqueResults && !isLoading && ( {!uniqueResults && !isLoading && (
<div className="flex size-full flex-col"> <div className="scrollbar-container flex size-full flex-col overflow-y-auto">
<ExploreView onSelectSearch={onSelectSearch} /> <ExploreView onSelectSearch={onSelectSearch} />
</div> </div>
)} )}