Browse Source

Final fix.

pull/556/head
Sebastian 5 years ago
parent
commit
dfd9b67a31
  1. 2
      frontend/app/features/content/shared/list/content-list-cell.directive.ts
  2. 13
      frontend/app/features/content/shared/list/content-value.component.scss

2
frontend/app/features/content/shared/list/content-list-cell.directive.ts

@ -86,7 +86,5 @@ export class ContentListCellDirective implements OnChanges {
this.renderer.setStyle(this.element.nativeElement, 'max-width', width);
this.renderer.setStyle(this.element.nativeElement, 'width', width);
}
this.renderer.setStyle(this.element.nativeElement, 'position', 'relative');
}
}

13
frontend/app/features/content/shared/list/content-value.component.scss

@ -1,9 +1,16 @@
:host {
direction: ltr;
display: block;
position: relative;
}
:host ::ng-deep {
img {
margin-top: -25px;
max-height: 50px;
min-height: 50px;
position: absolute;
top: 5px;
top: 50%;
}
img + span {
@ -12,5 +19,9 @@
span {
@include truncate;
&::after {
content: '';
}
}
}
Loading…
Cancel
Save