Rename class 'profile-avatar' to 'profile-page-avatar'

This commit is contained in:
Wolfgang Huß 2022-08-29 13:45:30 +02:00
parent a9c52bfcae
commit 2fc84f9c36
3 changed files with 7 additions and 7 deletions

View File

@ -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")

View File

@ -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;
}

View File

@ -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;
}