diff --git a/client/src/components/profile/Avatar.vue b/client/src/components/profile/Avatar.vue
index 7d19d570..1dcfc352 100644
--- a/client/src/components/profile/Avatar.vue
+++ b/client/src/components/profile/Avatar.vue
@@ -1,28 +1,43 @@
-
+
-
+
![]()
+
@@ -45,11 +60,11 @@
width: $max-width;
overflow: hidden;
text-align: center;
- border-radius: 50%;
&__placeholder {
height: $max-width;
fill: $color-silver-dark;
+ border-radius: 50%;
&--highlighted {
fill: $color-brand;
@@ -57,14 +72,14 @@
}
&__image {
+ background-size: cover;
+ background-position: center center;
+ height: 100%;
+ width: 100%;
+ border: 0;
+ border-radius: 50%;
- background-size: cover;
- background-position: center center;
- height: 100%;
- width: 100%;
- border: 0;
-
- &--landscape {
+ &--landscape {
width: auto;
height: $max-width;
}
@@ -75,10 +90,25 @@
height: 0;
}
- .fade-leave-active, .show-enter-active {
+ &__edit {
+ position: absolute;
+ box-sizing: border-box;
+ width: 34px;
+ height: 34px;
+ display: block;
+ left: 50%;
+ bottom: -7px;
+ transform: translateX(50%);
+ background-color: $color-white;
+ border-radius: 50%;
+ padding: 6px;
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
+ }
+
+ .fade-leave-active, .show-enter-active {
transition: opacity .5s;
}
- .fade-leave-to, .show-enter {
+ .fade-leave-to, .show-enter {
opacity: 0;
}