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 }
|
||||
);
|
||||
});
|
||||
cy.get(".profile-avatar img")
|
||||
cy.get(".profile-page-avatar img")
|
||||
.should("have.attr", "src")
|
||||
.and("contains", "onourjourney");
|
||||
cy.contains(".iziToast-message", "Upload successful")
|
||||
|
||||
@ -8,9 +8,9 @@
|
||||
style="position: relative; height: auto; overflow: visible"
|
||||
>
|
||||
<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>
|
||||
<!-- 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 -->
|
||||
<!-- Wolle: <client-only>
|
||||
<content-menu
|
||||
@ -427,7 +427,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.profile-avatar.user-avatar {
|
||||
.profile-page-avatar.user-avatar {
|
||||
margin: auto;
|
||||
margin-top: -60px;
|
||||
}
|
||||
|
||||
@ -8,9 +8,9 @@
|
||||
style="position: relative; height: auto; overflow: visible"
|
||||
>
|
||||
<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>
|
||||
<user-avatar v-else :user="user" class="profile-avatar" size="large" />
|
||||
<user-avatar v-else :user="user" class="profile-page-avatar" size="large" />
|
||||
<!-- Menu -->
|
||||
<client-only>
|
||||
<content-menu
|
||||
@ -417,7 +417,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.profile-avatar.user-avatar {
|
||||
.profile-page-avatar.user-avatar {
|
||||
margin: auto;
|
||||
margin-top: -60px;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user