user-card cleanup

This commit is contained in:
Henry Jameson 2025-08-05 17:52:30 +03:00
commit ebe727b378
8 changed files with 77 additions and 87 deletions

View file

@ -4,13 +4,12 @@
v-if="user"
class="user-profile panel panel-default"
>
<div class="panel-body">
<div class="panel-body card-wrapper">
<UserCard
:user-id="userId"
:switcher="true"
:selected="timeline.viewing"
avatar-action="zoom"
rounded="top"
:has-note-editor="true"
/>
</div>
@ -130,6 +129,16 @@
.user-profile {
flex: 2;
.card-wrapper {
border-top-left-radius: var(--roundness);
border-top-right-radius: var(--roundness);
}
.panel-footer {
border-bottom-left-radius: var(--roundness);
border-bottom-right-radius: var(--roundness);
}
// No sticky header on user profile
--currentPanelStack: 0;