diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2023-01-12 13:50:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 13:50:54 +0100 |
commit | e019eb10cc7d87c94d652992e63a3f770bf99287 (patch) | |
tree | 7b9df837cae6796e778d172a20321d60bc8a502f /src | |
parent | c0b8bf771cfb356aefd0ed04e4f7bf6e1f8b036e (diff) | |
parent | e790f086bbb98f401383e843e67847aa509c4a9f (diff) |
Merge pull request #1572 from nextcloud/artonge/fix/user_entry
Improve rendering of user entry in user lists
Diffstat (limited to 'src')
-rw-r--r-- | src/components/UserEntry.vue | 39 |
1 files changed, 16 insertions, 23 deletions
diff --git a/src/components/UserEntry.vue b/src/components/UserEntry.vue index 4b49304a..74ed8b77 100644 --- a/src/components/UserEntry.vue +++ b/src/components/UserEntry.vue @@ -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; + display: flex; + align-items: center; margin-right: 10px; - border-radius: 50%; flex-shrink: 0; } - .post-author { - font-weight: bold; - } - - .entry-content { - display: flex; - align-items: flex-start; - } - .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> |