mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
Fix <tr> is invalid inside <table>
This commit is contained in:
parent
07d02990ab
commit
c28d254b4d
4 changed files with 49 additions and 37 deletions
|
|
@ -141,12 +141,14 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</script>
|
||||
|
||||
<table class="stats-table align-start">
|
||||
<tbody>
|
||||
{#each statsRows as row}
|
||||
<tr>
|
||||
<th class="align-start">{row.label}</th>
|
||||
<td>{row.value}</td>
|
||||
</tr>
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<style>
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</div>
|
||||
<div class="counts-table">
|
||||
<table>
|
||||
<tbody>
|
||||
{#each tableData as d, _idx}
|
||||
<tr>
|
||||
<!-- prettier-ignore -->
|
||||
|
|
@ -82,6 +83,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<td class="right">{graphData.totalCards}</td>
|
||||
<td />
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,12 +12,14 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<div>
|
||||
<table dir={direction()}>
|
||||
<tbody>
|
||||
{#each tableData as { label, value }}
|
||||
<tr>
|
||||
<td class="align-end">{label}:</td>
|
||||
<td class="align-start">{value}</td>
|
||||
</tr>
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -13,11 +13,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<div class="outer">
|
||||
<table class="preview">
|
||||
<thead>
|
||||
<tr>
|
||||
{#each $columnOptions.slice(1) as { label, shortLabel }}
|
||||
<th>
|
||||
{shortLabel || label}
|
||||
</th>
|
||||
{/each}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each $metadata.preview as row}
|
||||
<tr>
|
||||
{#each row.vals as cell}
|
||||
|
|
@ -25,6 +30,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
{/each}
|
||||
</tr>
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue