fixes
All checks were successful
deploy to production / deploy (push) Successful in 36s

This commit is contained in:
2023-09-01 12:09:35 +00:00
parent 769fd1296c
commit 157e667227
13 changed files with 56 additions and 23 deletions

View File

@@ -2,10 +2,11 @@
import { navigate } from "svelte-routing/src/history"
import { openExtendableNr, pages, rerender, scrollToRowNr } from "../../store"
export let col: Column
let focused = -1
</script>
<div class="link-container">
{#each col.pageLinkBlocks as link}
{#each col.pageLinkBlocks as link, i}
{#if isNaN(link.extendableRowNr)}
<button
class="page-ref"
@@ -19,6 +20,12 @@
</button>
{:else}
<button
on:mouseenter="{() => {
focused = i
}}"
on:mouseleave="{() => {
focused = -1
}}"
class="row-ref fill"
on:click="{() => {
$rerender = $rerender + 1
@@ -30,7 +37,11 @@
<div>
{link.name}
</div>
<img src="/media/arrow-r.svg" alt="arrow" />
<svg
data-src="/media/arrow-r.svg"
stroke="{i == focused ? '#fff' : 'black'}"
fill="{i == focused ? '#fff' : 'black'}"
style="z-index: 9999; position: relative;"></svg>
</button>
{/if}
{/each}