Collection descriptions can get out of the collection's box (#5380)
* Collection descriptions can get out of the collection's box Fixes #2281 * Update apps/frontend/src/pages/dashboard/collections.vue Signed-off-by: Calum H. <hendersoncal117@gmail.com> --------- Signed-off-by: Calum H. <hendersoncal117@gmail.com> Co-authored-by: Calum H. <hendersoncal117@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2a91fc31f1
commit
f01c901445
@@ -220,7 +220,7 @@
|
|||||||
v-if="collection.description"
|
v-if="collection.description"
|
||||||
:title="formatMessage(commonMessages.descriptionLabel)"
|
:title="formatMessage(commonMessages.descriptionLabel)"
|
||||||
>
|
>
|
||||||
<p class="m-0">{{ collection.description }}</p>
|
<p class="m-0 break-words">{{ collection.description }}</p>
|
||||||
</SidebarCard>
|
</SidebarCard>
|
||||||
<SidebarCard
|
<SidebarCard
|
||||||
v-if="collection.id !== 'following'"
|
v-if="collection.id !== 'following'"
|
||||||
|
|||||||
@@ -202,6 +202,8 @@ const orderedCollections = computed(() => {
|
|||||||
.description {
|
.description {
|
||||||
color: var(--color-secondary);
|
color: var(--color-secondary);
|
||||||
font-size: var(--font-size-sm);
|
font-size: var(--font-size-sm);
|
||||||
|
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-bar {
|
.stat-bar {
|
||||||
|
|||||||
Reference in New Issue
Block a user