Compare commits

...

2 Commits

Author SHA1 Message Date
8d723477d3 Merge branch 'develop' of https://git.akkerweb.nl/FarmMaps/FarmMapsLib into develop
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
2021-05-04 11:28:49 +02:00
771e388f0e AW-2081 Align avatar 2021-05-04 11:28:43 +02:00
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<span class="avatar-container" [title]="name">
<ngx-avatar
class="farmmaps-avatar"
[src]="src"
[name]="name"
[size]="size"

View File

@ -1,6 +1,7 @@
.avatar-container {
position: relative;
}
.avatar-text {
position: absolute;
top: 25px;
@ -11,3 +12,7 @@
padding-left: 20px;
padding-right: 20px;
}
.farmmaps-avatar /deep/ .avatar-content {
vertical-align: top;
}

View File

@ -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 {