mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Rename class 'profile-avatar' to 'profile-page-avatar'
This commit is contained in:
parent
a9c52bfcae
commit
2fc84f9c36
@ -9,7 +9,7 @@ Then("I should be able to change my profile picture", () => {
|
|||||||
{ subjectType: "drag-n-drop", force: true }
|
{ subjectType: "drag-n-drop", force: true }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
cy.get(".profile-avatar img")
|
cy.get(".profile-page-avatar img")
|
||||||
.should("have.attr", "src")
|
.should("have.attr", "src")
|
||||||
.and("contains", "onourjourney");
|
.and("contains", "onourjourney");
|
||||||
cy.contains(".iziToast-message", "Upload successful")
|
cy.contains(".iziToast-message", "Upload successful")
|
||||||
|
|||||||
@ -8,9 +8,9 @@
|
|||||||
style="position: relative; height: auto; overflow: visible"
|
style="position: relative; height: auto; overflow: visible"
|
||||||
>
|
>
|
||||||
<avatar-uploader v-if="isMyGroup" :profile="group">
|
<avatar-uploader v-if="isMyGroup" :profile="group">
|
||||||
<!-- Wolle: <user-avatar :user="user" class="profile-avatar" size="large"></user-avatar> -->
|
<!-- Wolle: <user-avatar :user="user" class="profile-page-avatar" size="large"></user-avatar> -->
|
||||||
</avatar-uploader>
|
</avatar-uploader>
|
||||||
<!-- Wolle: <user-avatar v-else :user="user" class="profile-avatar" size="large" /> -->
|
<!-- Wolle: <user-avatar v-else :user="user" class="profile-page-avatar" size="large" /> -->
|
||||||
<!-- Menu -->
|
<!-- Menu -->
|
||||||
<!-- Wolle: <client-only>
|
<!-- Wolle: <client-only>
|
||||||
<content-menu
|
<content-menu
|
||||||
@ -427,7 +427,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.profile-avatar.user-avatar {
|
.profile-page-avatar.user-avatar {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: -60px;
|
margin-top: -60px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,9 +8,9 @@
|
|||||||
style="position: relative; height: auto; overflow: visible"
|
style="position: relative; height: auto; overflow: visible"
|
||||||
>
|
>
|
||||||
<avatar-uploader v-if="myProfile" :profile="user">
|
<avatar-uploader v-if="myProfile" :profile="user">
|
||||||
<user-avatar :user="user" class="profile-avatar" size="large"></user-avatar>
|
<user-avatar :user="user" class="profile-page-avatar" size="large"></user-avatar>
|
||||||
</avatar-uploader>
|
</avatar-uploader>
|
||||||
<user-avatar v-else :user="user" class="profile-avatar" size="large" />
|
<user-avatar v-else :user="user" class="profile-page-avatar" size="large" />
|
||||||
<!-- Menu -->
|
<!-- Menu -->
|
||||||
<client-only>
|
<client-only>
|
||||||
<content-menu
|
<content-menu
|
||||||
@ -417,7 +417,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.profile-avatar.user-avatar {
|
.profile-page-avatar.user-avatar {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: -60px;
|
margin-top: -60px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user