Compare commits

..

No commits in common. "1f800b6d4c9831f74bc5b6509b2353972cb6765f" and "d3dff302c545f8251cd6d6876e361f9fc7bd5fde" have entirely different histories.

3 changed files with 4 additions and 7 deletions

View file

@ -7,11 +7,8 @@
<style> <style>
.message { .message {
display: flex;
align-items: center;
overflow-x: none; overflow-x: none;
word-break: break-all; word-break: break-all;
padding: 1px var(--space-normplus) 1px var(--space-normplus);
} }
.message .edit-message { .message .edit-message {
@ -35,13 +32,11 @@
} }
.author { .author {
flex-shrink: 0;
font-weight: bold; font-weight: bold;
margin-right: var(--space-xs); margin-right: var(--space-xxs);
} }
.edit-message { .edit-message {
flex-shrink: 0;
float: right; float: right;
} }
</style> </style>

View file

@ -48,6 +48,8 @@
<style> <style>
.messages-container { .messages-container {
padding: var(--space-normplus);
padding-bottom: 0;
height: 100%; height: 100%;
width: 100%; width: 100%;
flex-grow: 0; flex-grow: 0;

View file

@ -27,7 +27,7 @@ export default async function(method, endpoint, auth=true, body=null) {
const res = await fetch(endpoint, options); const res = await fetch(endpoint, options);
return { return {
success: true, success: true,
json: res.status === 204 ? null : await res.json(), json: await res.json(),
ok: res.ok, ok: res.ok,
status: res.status status: res.status
} }