More overflow. #beach

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3997 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-10-09 12:23:25 +00:00
parent e5dcff0200
commit d9c5f74d62
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ class TfMessageElement extends LitElement {
return html`
<div style="border: 1px solid black; background-color: rgba(255, 255, 255, 0.1); margin-top: 8px; padding: 16px; display: inline-block">
<tf-user id=${self.message.author} .users=${self.users}></tf-user>
<span style="padding-right: 8px"><a target="_top" href=${'#' + self.message.id}>%</a> ${new Date(self.message.timestamp).toLocaleString()}</span>
<span style="padding-right: 8px"><a tfarget="_top" href=${'#' + self.message.id}>%</a> ${new Date(self.message.timestamp).toLocaleString()}</span>
${raw_button}
${self.raw ? self.render_raw() : inner}
${self.render_votes()}
@ -191,7 +191,7 @@ class TfMessageElement extends LitElement {
if (content.type == 'about') {
return small_frame(html`
<div style="font-weight: bold">Updated profile:</div>
<pre style="white-space: pre-wrap">${JSON.stringify(content, null, 2)}</pre>
<pre style="white-space: pre-wrap; overflow-wrap: anywhere">${JSON.stringify(content, null, 2)}</pre>
`);
} else if (content.type == 'contact') {
return small_frame(html`