diff options
Diffstat (limited to 'src/components/user_card_content/user_card_content.vue')
| -rw-r--r-- | src/components/user_card_content/user_card_content.vue | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue index c7a270f1..36aa11ab 100644 --- a/src/components/user_card_content/user_card_content.vue +++ b/src/components/user_card_content/user_card_content.vue @@ -10,9 +10,11 @@ </a> <div class="floater" v-if="switcher || isOtherUser"> <!-- id's need to be unique, otherwise vue confuses which user-card checkbox belongs to --> - <input type="color" :id="'userHighlightColor'+user.id" v-if="userHighlightEnabled" v-model="userHighlightColor"/> - <input type="checkbox" class="button" :id="'userHighlightCheck'+user.id" v-model="userHighlightEnabled"> - <label :title="$t('settings.highlight')" :for="'userHighlightCheck'+user.id"></label> + <input class="userHighlightCl" type="color" :id="'userHighlightColor'+user.id" v-if="userHighlightEnabled" v-model="userHighlightColor"/> + <input type="checkbox" class="userHighlightChk" :id="'userHighlightCheck'+user.id" v-model="userHighlightEnabled"> + <label :title="$t('settings.highlight')" :for="'userHighlightCheck'+user.id"> + <i class="icon-brush"></i> + </label> </div> <div class='container'> <router-link :to="{ name: 'user-profile', params: { id: user.id } }"> @@ -287,5 +289,17 @@ .floater { float: right; margin-top: 16px; + + .userHighlightCl { + padding: 2px 10px; + height: 22px; + vertical-align: top; + margin-right: 0 + } + + .userHighlightChk + label::before { + vertical-align: top; + margin-right: 0 + } } </style> |
