AW-2081 Align avatar
This commit is contained in:
parent
3504990708
commit
771e388f0e
@ -1,5 +1,6 @@
|
||||
<span class="avatar-container" [title]="name">
|
||||
<ngx-avatar
|
||||
class="farmmaps-avatar"
|
||||
[src]="src"
|
||||
[name]="name"
|
||||
[size]="size"
|
||||
|
@ -1,6 +1,7 @@
|
||||
.avatar-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.avatar-text {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
@ -10,4 +11,8 @@
|
||||
color: white;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.farmmaps-avatar /deep/ .avatar-content {
|
||||
vertical-align: top;
|
||||
}
|
@ -5,7 +5,7 @@ import { AppConfig } from '../../shared/app.config';
|
||||
@Component({
|
||||
selector: 'fm-avatar',
|
||||
templateUrl: './avatar.component.html',
|
||||
styleUrls: ['./avatar.component.css']
|
||||
styleUrls: ['./avatar.component.scss']
|
||||
})
|
||||
export class AvatarComponent implements OnInit {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user