commit: 218b15b5fd3c09f927e4f92b5cee7ef988c9ae39
parent bc029b0fa2499651a7ff541f09afe1fbc2e19cea
Author: Henry Jameson <me@hjkos.com>
Date: Tue, 29 Mar 2022 19:12:57 +0300
fix reset buttons in profile again
Diffstat:
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/components/settings_modal/tabs/profile_tab.scss b/src/components/settings_modal/tabs/profile_tab.scss
@@ -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 {
diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue
@@ -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"
/>