Skip to content

Commit

Permalink
add cursor pointer to matches components
Browse files Browse the repository at this point in the history
  • Loading branch information
craigkai committed Oct 4, 2024
1 parent 57f7664 commit 00c86cb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ vite.config.ts.timestamp-*
*.local
.vercel
.env
.vscode/
2 changes: 1 addition & 1 deletion src/components/EditRef.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
{ref?.name}
</div>
{:else}
<button onclick={() => (open = true)}>
<button class="cursor-pointer" onclick={() => (open = true)}>
{ref?.name}
</button>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Match.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<!-- svelte-ignore a11y_click_events_have_key_events -->
<!-- svelte-ignore a11y_no_static_element_interactions -->
<div
class="flex place-items-center justify-center text-pretty {courts < 2
class="cursor-pointer flex place-items-center justify-center text-pretty {courts < 2
? 'text-lg'
: 'text-base'}"
onclick={() => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Matches.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
(m: Match) =>
m?.court === court && (m?.round ?? 0).toString() === round?.toString()
)}
<Table.Cell class="cursor-pointer text-center">
<Table.Cell class="text-center">
{#if match}
<ViewMatch
matches={data.matches}
Expand Down Expand Up @@ -213,7 +213,7 @@

{#if !readOnly}
<div class="text-center">
<button onclick={addMatch} class="text-blue-500">Add Match</button>
<button onclick={addMatch} class="text-blue-500 cursor-pointer">Add Match</button>
</div>
{/if}
</div>
Expand Down

0 comments on commit 00c86cb

Please sign in to comment.