a3305799c7
* upstream/develop: (42 commits) Fix formatting in oc.json avoid using global class fix logo moving bug when lightbox is open Reserve scrollbar gap when body scroll is locked setting display: initial makes trouble, instead, toggle display: none using classname lock body scroll add body-scroll-lock directive install body-scroll-lock wire up props with PostStatusModal rename component recover autofocusing behavior refactor MobilePostStatusModal using new PostStatusModal add new module and modal to post new status remove needless condition add mention button wire up user state with global store collapse fav/repeat notifications from muted users do not collapse thread muted posts in conversation detect thread-muted posts do not change word based muting logic ...
31 lines
517 B
Vue
31 lines
517 B
Vue
<template>
|
|
<div class="user-panel">
|
|
<div
|
|
v-if="signedIn"
|
|
key="user-panel"
|
|
class="panel panel-default signed-in"
|
|
>
|
|
<UserCard
|
|
:user="user"
|
|
:hide-bio="true"
|
|
rounded="top"
|
|
/>
|
|
<div class="panel-footer">
|
|
<PostStatusForm />
|
|
</div>
|
|
</div>
|
|
<auth-form
|
|
v-else
|
|
key="user-panel"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./user_panel.js"></script>
|
|
|
|
<style lang="scss">
|
|
.user-panel .signed-in {
|
|
overflow: visible;
|
|
}
|
|
</style>
|