allow avatar removal

This commit is contained in:
or-else
2018-12-15 14:24:05 +03:00
parent 31190ec826
commit 405ce756a2
7 changed files with 42 additions and 6 deletions
+14
View File
@@ -868,6 +868,7 @@ i.search {
/* Styling of avatar upload control */
.avatar-upload {
display: flex;
position: relative;
flex-direction: column;
flex-shrink: 0;
width: 7rem;
@@ -877,6 +878,19 @@ i.search {
padding: 0;
}
.avatar-upload .clear-avatar {
position: absolute;
font-size: 1rem;
top: 0;
right: 0;
opacity: 0;
background-image: radial-gradient(#fff 40%, transparent 75%);
}
.avatar-upload:hover .clear-avatar {
opacity: 1;
}
.avatar-upload .avatar-box {
position: relative;
width: 7rem;
+1 -1
View File
File diff suppressed because one or more lines are too long