fix reset buttons in profile again

This commit is contained in:
Henry Jameson 2022-03-29 19:12:57 +03:00
parent bc029b0fa2
commit 218b15b5fd
2 changed files with 8 additions and 5 deletions

View file

@ -111,9 +111,9 @@
v-if="!isDefaultAvatar && pickAvatarBtnVisible"
:title="$t('settings.reset_avatar')"
@click="resetAvatar"
class="button-unstyled reset-button"
>
<FAIcon
class="reset-button"
icon="times"
type="button"
/>
@ -141,11 +141,11 @@
<img :src="user.cover_photo">
<button
v-if="!isDefaultBanner"
class="button-unstyled reset-button"
:title="$t('settings.reset_profile_banner')"
@click="resetBanner"
>
<FAIcon
class="reset-button"
icon="times"
type="button"
/>
@ -183,12 +183,11 @@
<img :src="user.background_image">
<button
v-if="!isDefaultBackground"
class="button-unstyled"
class="button-unstyled reset-button"
:title="$t('settings.reset_profile_background')"
@click="resetBackground"
>
<FAIcon
class="reset-button"
icon="times"
type="button"
/>