aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_panel
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-03-11 18:53:34 +0000
committerShpuld Shpludson <shp@cock.li>2019-03-11 18:53:34 +0000
commit7c26435e66fd7e142ea4b88fbe51eede32eeb5ce (patch)
treed7b4ea789ceaaa8e5dacd7e74100962853853132 /src/components/user_panel
parent7e9c8c3d219aa3b787c5606efbb54a73c1738b07 (diff)
parentf397537642a6b8a4079d8d45d835ddd50f2d2b4a (diff)
Merge branch 'develop' into 'master'
Update master with bugfixes (and other changes) See merge request pleroma/pleroma-fe!673
Diffstat (limited to 'src/components/user_panel')
-rw-r--r--src/components/user_panel/user_panel.js4
-rw-r--r--src/components/user_panel/user_panel.vue12
2 files changed, 3 insertions, 13 deletions
diff --git a/src/components/user_panel/user_panel.js b/src/components/user_panel/user_panel.js
index 15804b88..d4478290 100644
--- a/src/components/user_panel/user_panel.js
+++ b/src/components/user_panel/user_panel.js
@@ -1,6 +1,6 @@
import LoginForm from '../login_form/login_form.vue'
import PostStatusForm from '../post_status_form/post_status_form.vue'
-import UserCardContent from '../user_card_content/user_card_content.vue'
+import UserCard from '../user_card/user_card.vue'
const UserPanel = {
computed: {
@@ -9,7 +9,7 @@ const UserPanel = {
components: {
LoginForm,
PostStatusForm,
- UserCardContent
+ UserCard
}
}
diff --git a/src/components/user_panel/user_panel.vue b/src/components/user_panel/user_panel.vue
index 2d5cb500..8310f30e 100644
--- a/src/components/user_panel/user_panel.vue
+++ b/src/components/user_panel/user_panel.vue
@@ -1,7 +1,7 @@
<template>
<div class="user-panel">
<div v-if='user' class="panel panel-default" style="overflow: visible;">
- <user-card-content :user="user" :switcher="false" :hideBio="true"></user-card-content>
+ <UserCard :user="user" :hideBio="true" rounded="top"/>
<div class="panel-footer">
<post-status-form v-if='user'></post-status-form>
</div>
@@ -11,13 +11,3 @@
</template>
<script src="./user_panel.js"></script>
-
-<style lang="scss">
-.user-panel {
- .profile-panel-background .panel-heading {
- background: transparent;
- flex-direction: column;
- align-items: stretch;
- }
-}
-</style>