summaryrefslogtreecommitdiff
path: root/packages/frontend/src
diff options
context:
space:
mode:
authorMarie <github@yuugi.dev>2024-09-16 00:15:06 +0200
committerMarie <github@yuugi.dev>2024-09-16 00:15:06 +0200
commitbde6bb0bd2e8b0d027e724d2acdb8ae0585a8110 (patch)
tree93a1e8d22ec34e57d4a8b66e88e3c6562b700311 /packages/frontend/src
parentupd: fix audio showing multiple warnings (diff)
downloadsharkey-bde6bb0bd2e8b0d027e724d2acdb8ae0585a8110.tar.gz
sharkey-bde6bb0bd2e8b0d027e724d2acdb8ae0585a8110.tar.bz2
sharkey-bde6bb0bd2e8b0d027e724d2acdb8ae0585a8110.zip
upd: don't ignore new lines on file info
Diffstat (limited to 'packages/frontend/src')
-rw-r--r--packages/frontend/src/pages/drive.file.info.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/drive.file.info.vue b/packages/frontend/src/pages/drive.file.info.vue
index 4ed2a67678..39e61aa218 100644
--- a/packages/frontend/src/pages/drive.file.info.vue
+++ b/packages/frontend/src/pages/drive.file.info.vue
@@ -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;