mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix discuss history view height (#795)
This commit is contained in:
1 parent
c68b2b346b
commit
5186e35712
1 file changed
+2
@@ -14,7 +14,9 @@ async function historyDialog(payload, time, uid) {
|
||||
$body: tpl`
|
||||
<div class="typo richmedia">
|
||||
<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 }}
|
||||
</div>
|
||||
</div>`,
|
||||
}).open();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user