forked from AkkomaGang/akkoma-fe
fix reset buttons in profile again
This commit is contained in:
parent
bc029b0fa2
commit
218b15b5fd
2 changed files with 8 additions and 5 deletions
|
@ -54,16 +54,20 @@
|
|||
border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
opacity: 0.7;
|
||||
color: white;
|
||||
width: 1.5em;
|
||||
height: 1.5em;
|
||||
text-align: center;
|
||||
line-height: 1.5em;
|
||||
font-size: 1.5em;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
svg {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.oauth-tokens {
|
||||
|
|
|
@ -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"
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue