Skip to content

Commit

Permalink
fix: wrap usergroup's cell values
Browse files Browse the repository at this point in the history
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
  • Loading branch information
enjeck authored and backportbot[bot] committed Jan 28, 2025
1 parent 5c0ce0b commit 52a2fdf
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-->
<template>
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-if="value">
<div v-if="value" class="table-cell-usergroup">
<div v-for="item in value" :key="item.id" class="inline usergroup-entry">
<NcUserBubble :user="item.id" :avatar-image="item.type === 1 ? 'icon-group' : undefined" :is-no-user="item.type !== 0" :display-name="item.displayName ?? item.id" :show-user-status="isUser(item) && column.showUserStatus" :size="column.showUserStatus ? 34 : 20" :primary="isCurrentUser(item)" />
</div>
Expand Down Expand Up @@ -48,6 +48,12 @@ export default {
</script>

<style lang="scss" scoped>
.table-cell-usergroup {
display: flex;
flex-wrap: wrap;
padding: 10px;
}

.usergroup-entry {
padding-right: 10px;
}
Expand Down

0 comments on commit 52a2fdf

Please sign in to comment.