Reworked the table scroll
This commit is contained in:
@@ -40,15 +40,16 @@ const rowBgDark = computed(() => {
|
||||
<template>
|
||||
<table class="table w-full border-collapse border border-gray-300">
|
||||
<tr class="text-left" v-if="props.iterations.length > 0">
|
||||
<th>Époch</th>
|
||||
<th>Exemple</th>
|
||||
<th class="sticky top-0 z-10 bg-background">Époch</th>
|
||||
<th class="sticky top-0 z-10 bg-background">Exemple</th>
|
||||
<th
|
||||
v-for="(weight, index) in displayedWeights"
|
||||
v-bind:key="index"
|
||||
class="sticky top-0 z-10 bg-background"
|
||||
>
|
||||
X<sub>{{ index }}</sub>
|
||||
</th>
|
||||
<th>Erreur</th>
|
||||
<th class="sticky top-0 z-10 bg-background">Erreur</th>
|
||||
</tr>
|
||||
<tr
|
||||
v-for="(iteration, index) in props.iterations"
|
||||
|
||||
Reference in New Issue
Block a user