+
<${Buffer} buffer=${activeBuffer} server=${activeServer} diff --git a/components/buffer-list.js b/components/buffer-list.js index 89db007..7dba748 100644 --- a/components/buffer-list.js +++ b/components/buffer-list.js @@ -80,5 +80,9 @@ export default function BufferList(props) { `; }); - return html`
    ${items}
`; + return html` +
    + ${items} +
+ `; } diff --git a/components/buffer.js b/components/buffer.js index 6da7c4d..97440da 100644 --- a/components/buffer.js +++ b/components/buffer.js @@ -386,7 +386,7 @@ class LogLine extends Component { } return html` -
+
<${Timestamp} date=${new Date(msg.tags.time)} url=${getMessageURL(buf, msg)}/> ${" "} ${content} @@ -511,7 +511,7 @@ class FoldGroup extends Component { } return html` -
+
${timestamp} ${" "} ${content} @@ -564,7 +564,7 @@ class NotificationNagger extends Component { } return html` -
+
<${Timestamp}/> ${" "} Turn on desktop notifications to get notified about new messages @@ -605,7 +605,7 @@ class ProtocolHandlerNagger extends Component { } let name = this.props.bouncerName || "this bouncer"; return html` -
+
<${Timestamp}/> ${" "} Register our protocol handler to open IRC links with ${name} @@ -643,7 +643,7 @@ function AccountNagger({ server, onAuthClick, onRegisterClick }) { } return html` -
+
<${Timestamp}/> ${msg}
`; @@ -662,7 +662,7 @@ class DateSeparator extends Component { let date = this.props.date; let text = date.toLocaleDateString([], { year: "numeric", month: "2-digit", day: "2-digit" }); return html` -
+ `; @@ -670,7 +670,7 @@ class DateSeparator extends Component { } function UnreadSeparator(props) { - return html`
New messages
`; + return html``; } function sameDate(d1, d2) { @@ -847,7 +847,7 @@ export default class Buffer extends Component { children.push(createFoldGroup(foldMessages)); return html` -
+
${children}
`; diff --git a/components/dialog.js b/components/dialog.js index 7748765..c15e1c7 100644 --- a/components/dialog.js +++ b/components/dialog.js @@ -47,11 +47,11 @@ export default class Dialog extends Component { render() { return html` -
+