fix orders of a buttons

This commit is contained in:
Maksim Pechnikov 2019-10-11 16:52:26 +03:00
parent b8d8d02384
commit d53e7e3125
2 changed files with 10 additions and 33 deletions

View file

@ -90,8 +90,4 @@
color: var(--text, $fallback--text); color: var(--text, $fallback--text);
} }
} }
.account-actions .open {
min-width: 130px;
}
</style> </style>

View file

@ -59,24 +59,18 @@
:title="$t('tool_tip.user_settings')" :title="$t('tool_tip.user_settings')"
/> />
</router-link> </router-link>
<div
v-if="isOtherUser"
class="card-actions"
>
<AccountActions
v-if="loggedIn"
:user="user"
/>
<a <a
v-if="!user.is_local" v-if="isOtherUser && !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>
<AccountActions
v-if="isOtherUser && loggedIn"
:user="user"
/>
</div> </div>
</div>
<div class="bottom-line"> <div class="bottom-line">
<router-link <router-link
class="user-screen-name" class="user-screen-name"
@ -415,19 +409,6 @@
.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;
}
}
} }
} }