fixed get profile avatar and get user from back
This commit is contained in:
@@ -103,6 +103,43 @@ select.f-m-field::selection { background: transparent; }
|
||||
.f-img-upload-label:hover { border-color: var(--teal); background: rgba(var(--teal-rgb), .05); color: var(--teal); }
|
||||
.f-img-input { display: none; }
|
||||
|
||||
/* Profile Photo Preview */
|
||||
.f-img-preview-wrap {
|
||||
position: relative;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.f-img-preview {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
.f-img-preview-wrap .f-img-remove {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
background: rgba(0,0,0,0.55);
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
padding: 0;
|
||||
transition: background .2s;
|
||||
}
|
||||
.f-img-preview-wrap .f-img-remove:hover { background: rgba(0,0,0,0.8); }
|
||||
.f-img-preview-wrap .f-img-remove svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
/* Multi-image Grid */
|
||||
.f-img-grid {
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user