Skip to content

Commit

Permalink
pkp/pkp-lib#10451 Add whitespace-normal class to display affiliations…
Browse files Browse the repository at this point in the history
… in full
  • Loading branch information
blesildaramirez committed Oct 3, 2024
1 parent 619f90a commit 8d693b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions src/components/ListPanel/contributors/ContributorsListPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,17 @@
</PkpHeader>
</template>
<template #item-title="{item}">
{{ item.fullName }}
<Badge v-if="item.userGroupName">
{{ localize(item.userGroupName) }}
</Badge>
<div class="whitespace-normal text-justify">
{{ item.fullName }}
<Badge v-if="item.userGroupName">
{{ localize(item.userGroupName) }}
</Badge>
</div>
</template>
<template #item-subtitle="{item}">
{{ localize(item.affiliation) }}
<div class="whitespace-normal text-justify">
{{ localize(item.affiliation) }}
</div>
</template>
<template
v-if="
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tabs/Tab.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
:id="id"
class="pkpTab"
class="pkpTab min-w-0"
:class="classes"
role="tabpanel"
:aria-labelledby="id + '-button'"
Expand Down

0 comments on commit 8d693b7

Please sign in to comment.