Merge pull request #1572 from nextcloud/artonge/fix/user_entry

Improve rendering of user entry in user lists
pull/1573/head
Louis 2023-01-12 13:50:54 +01:00 zatwierdzone przez GitHub
commit e019eb10cc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 17 dodań i 24 usunięć

Wyświetl plik

@ -53,7 +53,7 @@
<!-- eslint-disable-next-line vue/no-v-html -->
<p v-html="item.summary" />
</div>
<FollowButton :account="item.account" />
<FollowButton :account="item.account" :uid="cloudId" />
</div>
</div>
</template>
@ -96,37 +96,30 @@ export default {
},
}
</script>
<style scoped>
<style scoped lang="scss">
.entry-content {
height: 50px;
display: flex;
align-items: center;
.user-avatar {
margin: 5px;
margin-right: 10px;
border-radius: 50%;
flex-shrink: 0;
}
.post-author {
font-weight: bold;
}
.entry-content {
display: flex;
align-items: flex-start;
align-items: center;
margin-right: 10px;
flex-shrink: 0;
}
.user-details {
flex-grow: 1;
}
.user-description {
opacity: 0.7;
}
.post-author {
font-weight: bold;
}
button {
margin-left: 10px;
min-width: 110px;
.user-description {
opacity: 0.7;
}
}
}
button * {
cursor: pointer;
}
</style>