Skip to content

Commit

Permalink
Merge pull request #40 from bedirhanyildirim/v2
Browse files Browse the repository at this point in the history
fix: align exercise filter dropdown content
  • Loading branch information
bedirhanyildirim authored Feb 10, 2024
2 parents a5a5bce + d81a4a5 commit 9951921
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/theme/sport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function ThemeSport() {
<DropdownMenuTrigger asChild>
<Button variant="outline">Filter</Button>
</DropdownMenuTrigger>
<DropdownMenuContent className="w-56">
<DropdownMenuContent className="w-56" align="end">
<DropdownMenuLabel>Exercises</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuRadioGroup
Expand Down
6 changes: 6 additions & 0 deletions data/sport/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,10 @@ export const sportHistory: ISport[] = [
duration: 4200,
target: "push",
},
{
date: new Date(2024, 1, 10, 19, 34),
type: "running",
distance: 2060,
duration: 753,
}
];

0 comments on commit 9951921

Please sign in to comment.