ui: fix discuss history view height (#795)

This commit is contained in:
Taoning Ge authored and GitHub committed 2024-05-04 23:33:55 +08:00
1 parent c68b2b346b
commit 5186e35712
1 file changed
+2
@@ -14,7 +14,9 @@ async function historyDialog(payload, time, uid) {
$body: tpl` $body: tpl`
<div class="typo richmedia"> <div class="typo richmedia">
<p><div data-user>${uid}</div> ${i18n('Edited at')} <span class="time relative" data-timestamp="${ts / 1000}">${time}</span></p> <p><div data-user>${uid}</div> ${i18n('Edited at')} <span class="time relative" data-timestamp="${ts / 1000}">${time}</span></p>
<div style="scroll-behavior: smooth; max-height: 60vh; overflow: auto;">
${{ templateRaw: true, html: rawHtml }} ${{ templateRaw: true, html: rawHtml }}
</div>
</div>`, </div>`,
}).open(); }).open();
} }