🎨 (Account) Change title

This commit is contained in:
Julien Calixte
2019-10-26 23:30:43 +02:00
parent a91e3fc0e0
commit e716bae04a
2 changed files with 10 additions and 8 deletions

View File

@@ -3,14 +3,14 @@
<account-encrypted v-if="isEncrypted" />
<div class="account-item-container">
<h2 class="title is-2 account-title">
<span :style="colorStyle()">{{ account.name }}</span>
<router-link
v-if="isAdmin"
class="tag"
:to="{ name: 'account-setting', params: { id } }"
:style="colorStyle()"
>
<awe-icon icon="cog" />
{{ account.name }}
</router-link>
<span v-else :style="colorStyle()">{{ account.name }}</span>
</h2>
<div class="columns is-centered" v-if="showShare">
<div class="column is-one-third">
@@ -478,7 +478,8 @@ export default class AccountItem extends BaseAccount {
}
.account-title {
margin: 10px 0;
span {
span,
a {
padding: 0 10px;
margin: 0 10px;
}