Merge pull request #5 from cheeaun/main

Update from main
This commit is contained in:
Chee Aun 2022-12-15 21:48:39 +08:00 committed by GitHub
commit 694fa22942
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 1 deletions

View file

@ -103,6 +103,7 @@
#compose-container .toolbar { #compose-container .toolbar {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center;
padding: 8px 0; padding: 8px 0;
gap: 8px; gap: 8px;
} }

View file

@ -520,6 +520,7 @@ function Compose({
const params = { const params = {
file, file,
description, description,
skipPolling: true,
}; };
return masto.mediaAttachments.create(params).then((res) => { return masto.mediaAttachments.create(params).then((res) => {
if (res.id) { if (res.id) {

View file

@ -15,7 +15,7 @@ export default ({ account, showAvatar, showAcct, short, external }) => {
<a <a
class={`name-text ${short ? 'short' : ''}`} class={`name-text ${short ? 'short' : ''}`}
href={url} href={url}
// target="_blank" target={external ? '_blank' : null}
title={`@${acct}`} title={`@${acct}`}
onClick={(e) => { onClick={(e) => {
if (external) return; if (external) return;

View file

@ -331,6 +331,7 @@
min-width: 0; min-width: 0;
} }
.card .title { .card .title {
line-height: 1.25;
font-weight: normal; font-weight: normal;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;