Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.

Commit

Permalink
style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
evermake committed Nov 23, 2024
1 parent b49b3ec commit 5f40b73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/EventCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function EventCard({ event }: { event: Event }) {
const age = ageText(event.age_min, event.age_max);

return (
<div className="flex overflow-hidden rounded-lg border">
<div className="flex overflow-hidden rounded-lg border bg-white shadow-sm">
<div
className={cn(
"flex w-[175px] flex-shrink-0 flex-grow-0 flex-col items-center justify-center text-white",
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/routes/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ function RouteComponent() {
placeholder="Название, вид спорта, город..."
/>
</div>
<div className="flex flex-col gap-4 p-4">
<div className="flex flex-col gap-4 bg-stone-100 p-4">
{loading ? (
<>
<Skeleton className="h-[200px]" />
<Skeleton className="h-[200px]" />
<Skeleton className="h-[200px]" />
<Skeleton className="h-[200px]" />
<Skeleton className="h-[200px]" />
<Skeleton className="h-[200px] bg-stone-200" />
<Skeleton className="h-[200px] bg-stone-200" />
<Skeleton className="h-[200px] bg-stone-200" />
<Skeleton className="h-[200px] bg-stone-200" />
<Skeleton className="h-[200px] bg-stone-200" />
</>
) : data?.events.length ? (
data.events.map((event) => (
Expand Down

0 comments on commit 5f40b73

Please sign in to comment.