Refactor import preview to not use a hidden table row (#7057)

This commit is contained in:
Mario Pietsch 2022-11-23 22:53:21 +01:00 committed by GitHub
parent 026739e2e0
commit 882e040e62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -117,15 +117,15 @@ title: $:/core/ui/ImportListing
</div>
</td>
</$reveal>
<tr>
<$reveal type="match" text="yes" state=<<previewPopupState>> tag="tr">
<td colspan="3">
<$reveal type="match" text="yes" state=<<previewPopupState>> tag="div">
<$list filter="[{$:/state/importpreviewtype}has[text]]" variable="listItem" emptyMessage={{$:/core/ui/ImportPreviews/Text}}>
<$transclude tiddler={{$:/state/importpreviewtype}}/>
<div>
<$transclude tiddler={{$:/state/importpreviewtype}}/>
</div>
</$list>
</$reveal>
</td>
</tr>
</$reveal>
</$list>
</tbody>
</table>