Fix true retention table dimensions

https://forums.ankiweb.net/t/anki-24-10-beta/49989/118
This commit is contained in:
Damien Elmes 2024-10-11 23:57:47 +10:00
parent 78b9580447
commit 40f9e0dc7a

View file

@ -65,9 +65,11 @@ export function renderTrueRetention(data: GraphsResponse, revlogRange: RevlogRan
td.trl { border: 1px solid; text-align: left; }
td.trr { border: 1px solid; text-align: right; }
td.trc { border: 1px solid; text-align: center; }
table { width: 100%; }
table { width: 100%; table-layout: fixed; }
colgroup col:first-child { width: 40% }
</style>
<table cellspacing="0" cellpadding="2">
<colgroup><col><col><col></colgroup>
<tr>
<td class="trl"><b>${scopeRange(scope)}</b></td>
<td class="trr">${tr.statisticsTrueRetentionPass()}</td>