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 <a
v-if="isOtherUser" v-if="isOtherUser && !user.is_local"
class="card-actions" :href="user.statusnet_profile_url"
target="_blank"
> >
<AccountActions <i class="icon-link-ext usersettings" />
v-if="loggedIn" </a>
:user="user" <AccountActions
/> v-if="isOtherUser && loggedIn"
<a :user="user"
v-if="!user.is_local" />
:href="user.statusnet_profile_url"
target="_blank"
>
<i class="icon-link-ext usersettings" />
</a>
</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;
}
}
} }
} }