mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Fix buffer and buffer list padding
This commit is contained in:
parent
f8c4d1746c
commit
78002c22ee
2 changed files with 13 additions and 8 deletions
|
@ -87,5 +87,11 @@ export default function Buffer(props) {
|
|||
return null;
|
||||
}
|
||||
|
||||
return props.buffer.messages.map((msg) => html`<${LogLine} message=${msg}/>`);
|
||||
return html`
|
||||
<div class="logline-list">
|
||||
${props.buffer.messages.map((msg) => html`
|
||||
<${LogLine} message=${msg}/>
|
||||
`)}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
|
13
style.css
13
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue