merge: Minor issue fixes on the frontend (!625)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/625

Closes #659, #656, #651, #661, #632, and #710

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: fEmber <acomputerdog@gmail.com>
This commit is contained in:
fEmber 2024-10-03 15:52:00 +00:00
commit e2beec33f8
17 changed files with 78 additions and 26 deletions

View file

@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkKeyValue>
</button>
<button class="_button" :class="$style.kvEditBtn" @click="describe()">
<MkKeyValue>
<MkKeyValue :class="$style.multiline">
<template #key>{{ i18n.ts.description }}</template>
<template #value>{{ file.comment ? file.comment : `(${i18n.ts.none})` }}<i class="ti ti-pencil" :class="$style.kvEditIcon"></i></template>
</MkKeyValue>
@ -313,6 +313,10 @@ onMounted(async () => {
padding: .5rem 1rem;
}
.multiline {
white-space: pre-wrap;
}
.kvEditBtn {
text-align: start;
display: block;