diff --git a/components/buffer.js b/components/buffer.js
index 15aa03a..52ebd5f 100644
--- a/components/buffer.js
+++ b/components/buffer.js
@@ -87,5 +87,11 @@ export default function Buffer(props) {
return null;
}
- return props.buffer.messages.map((msg) => html`<${LogLine} message=${msg}/>`);
+ return html`
+
+ ${props.buffer.messages.map((msg) => html`
+ <${LogLine} message=${msg}/>
+ `)}
+
+ `;
}
diff --git a/style.css b/style.css
index f805a39..25c9949 100644
--- a/style.css
+++ b/style.css
@@ -28,18 +28,15 @@ body {
margin: 0;
padding: 0;
}
-#sidebar li {
- padding: 2px 10px;
-}
-#sidebar li.active {
- background-color: #4a4a4a;
-}
#sidebar li a {
display: inline-block;
width: 100%;
+ padding: 2px 10px;
+ box-sizing: border-box;
}
#sidebar li.active a {
color: white;
+ background-color: #4a4a4a;
}
#sidebar li.unread-message a {
color: #b37400;
@@ -100,10 +97,12 @@ details summary {
#buffer {
box-sizing: border-box;
- padding: 10px;
color: #4a4a4a;
word-wrap: break-word;
}
+#buffer .logline-list {
+ padding: 10px;
+}
#buffer .talk {
color: black;
}