aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-10-11 16:52:26 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-10-11 16:54:25 +0300
commitd53e7e3125572075fc3f512fa0343a6ed98e5c12 (patch)
tree0529bad1928265d187d0023a6a62b93eeee75623
parentb8d8d02384e03ce8d5d38220527f798a9c0f3b30 (diff)
fix orders of a buttons
-rw-r--r--src/components/account_actions/account_actions.vue4
-rw-r--r--src/components/user_card/user_card.vue39
2 files changed, 10 insertions, 33 deletions
diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue
index 818e75bc..046cba93 100644
--- a/src/components/account_actions/account_actions.vue
+++ b/src/components/account_actions/account_actions.vue
@@ -90,8 +90,4 @@
color: var(--text, $fallback--text);
}
}
-
-.account-actions .open {
- min-width: 130px;
-}
</style>
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index 743fd667..f5cba09a 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -59,24 +59,18 @@
:title="$t('tool_tip.user_settings')"
/>
</router-link>
- <div
- v-if="isOtherUser"
- class="card-actions"
+ <a
+ v-if="isOtherUser && !user.is_local"
+ :href="user.statusnet_profile_url"
+ target="_blank"
>
- <AccountActions
- v-if="loggedIn"
- :user="user"
- />
- <a
- v-if="!user.is_local"
- :href="user.statusnet_profile_url"
- target="_blank"
- >
- <i class="icon-link-ext usersettings" />
- </a>
- </div>
+ <i class="icon-link-ext usersettings" />
+ </a>
+ <AccountActions
+ v-if="isOtherUser && loggedIn"
+ :user="user"
+ />
</div>
-
<div class="bottom-line">
<router-link
class="user-screen-name"
@@ -415,19 +409,6 @@
.top-line {
display: flex;
- .card-actions {
- position: relative;
- display: flex;
- width: 60px;
- .account-actions {
- position: absolute;
- left: 0;
- }
- a {
- position: absolute;
- right: 0;
- }
- }
}
}