fix position account actions

This commit is contained in:
Maksim Pechnikov 2019-10-11 14:07:34 +03:00
parent 69fb015e9f
commit b497882e0e
2 changed files with 32 additions and 11 deletions

View file

@ -91,4 +91,7 @@
} }
} }
.account-actions .open {
min-width: 130px;
}
</style> </style>

View file

@ -59,18 +59,23 @@
:title="$t('tool_tip.user_settings')" :title="$t('tool_tip.user_settings')"
/> />
</router-link> </router-link>
<div
v-if="isOtherUser"
class="card-actions"
>
<AccountActions <AccountActions
v-if="loggedIn && isOtherUser" v-if="loggedIn"
:user="user" :user="user"
/> />
<a <a
v-if="isOtherUser && !user.is_local" v-if="!user.is_local"
:href="user.statusnet_profile_url" :href="user.statusnet_profile_url"
target="_blank" target="_blank"
> >
<i class="icon-link-ext usersettings" /> <i class="icon-link-ext usersettings" />
</a> </a>
</div> </div>
</div>
<div class="bottom-line"> <div class="bottom-line">
<router-link <router-link
@ -410,6 +415,19 @@
.top-line { .top-line {
display: flex; display: flex;
.card-actions {
position: relative;
display: flex;
width: 60px;
.account-actions {
position: absolute;
left: 0;
}
a {
position: absolute;
right: 0;
}
}
} }
} }