Skip to content

Commit

Permalink
only show cursor pointer over table a links
Browse files Browse the repository at this point in the history
  • Loading branch information
ddxv committed Oct 31, 2024
1 parent d1630aa commit 59d3ac8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/AdtechTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
</thead>
<tbody class="px-0">
{#each Object.entries(tabledata) as [_prop, values]}
<tr style="cursor: pointer;" class="px-0">
<tr class="px-0">
<td class="px-0">
<div class="inline-flex">
<a href={`/companies/${values.name}`} class="table-row-link">
<a href={`/companies/${values.name}`} style="cursor: pointer;" class="table-row-link">
<h3 class="h7 md:h5">
{values.name}
</h3>
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/lib/CompaniesOverviewTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,17 @@
</thead>
<tbody>
{#each $rows as row, index}
<tr style="cursor: pointer;" class="px-0">
<tr class="px-0">
<td class="table-cell-fit">
<p class="text-xs md:text-lg">{index + 1}</p>
</td>
<td class="w-0">
<!-- TODO: This is supposed to be just inside TR for whole row -->
<a href="/companies/{row.company_domain}" class="table-row-link text-xs md:text-lg">
<a
href="/companies/{row.company_domain}"
style="cursor: pointer;"
class="table-row-link text-xs md:text-lg"
>
{#if row.company_name}
{row.company_name}
({row.company_domain})
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lib/CompanyOverviewTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@
</thead>
<tbody>
{#each $rows as row, index}
<tr style="cursor: pointer;" class="px-0">
<tr class="px-0">
<td class="table-cell-fit">
{index + 1}
</td>
<td class="table-cell-fit">
<!-- TODO: This is supposed to be just inside TR for whole row -->
<a href="/apps/{row.store_id}" class="table-row-link">
<a href="/apps/{row.store_id}" style="cursor: pointer;" class="table-row-link">
{row.name}
</a>
</td>
Expand Down

0 comments on commit 59d3ac8

Please sign in to comment.