diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2021-05-31 11:15:44 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2021-05-31 11:15:44 +0000 |
| commit | 0ca0e642a43a75f8e903db7361158ad32b84ecc4 (patch) | |
| tree | fd96ac1da4e8b463cc3094dfdf4c88103179c673 /src/components/account_actions | |
| parent | 4e96af044224dc10b8cc4eb270e025f1b8a1d29a (diff) | |
| parent | 80220c1b07436098a8d87ffc0fc49fadc79ac9a4 (diff) | |
Merge branch 'v-slot-upgrade' into 'develop'
Change old slot syntax (removed in vue3) to new one
See merge request pleroma/pleroma-fe!1379
Diffstat (limited to 'src/components/account_actions')
| -rw-r--r-- | src/components/account_actions/account_actions.vue | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index ab5d1d29..1e31151c 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -6,10 +6,7 @@ :bound-to="{ x: 'container' }" remove-padding > - <div - slot="content" - class="account-tools-popover" - > + <template v-slot:content> <div class="dropdown-menu"> <template v-if="relationship.following"> <button @@ -59,16 +56,15 @@ {{ $t('user_card.message') }} </button> </div> - </div> - <div - slot="trigger" - class="ellipsis-button" - > - <FAIcon - class="icon" - icon="ellipsis-v" - /> - </div> + </template> + <template v-slot:trigger> + <button class="button-unstyled ellipsis-button"> + <FAIcon + class="icon" + icon="ellipsis-v" + /> + </button> + </template> </Popover> </div> </template> @@ -83,7 +79,6 @@ } .ellipsis-button { - cursor: pointer; width: 2.5em; margin: -0.5em 0; padding: 0.5em 0; |
