mirror of https://github.com/Squidex/squidex.git
4 changed files with 25 additions and 25 deletions
@ -1,6 +1,8 @@ |
|||||
<ng-container *ngIf="isPlain; else html"> |
<ng-container *ngIf="isPlain; else html"> |
||||
<span class="truncate">{{value}}</span> |
<span> |
||||
|
<span class="truncate">{{value}}</span> |
||||
|
</span> |
||||
</ng-container> |
</ng-container> |
||||
<ng-template #html> |
<ng-template #html> |
||||
<span class="html-value" [innerHTML]="value.html"></span> |
<span [outerHTML]="value.html"></span> |
||||
</ng-template> |
</ng-template> |
||||
@ -1,22 +1,20 @@ |
|||||
:host ::ng-deep { |
:host { |
||||
.html-value { |
position: relative; |
||||
img { |
} |
||||
margin-top: -15px; |
|
||||
max-height: 50px; |
|
||||
min-height: 50px; |
|
||||
position: absolute; |
|
||||
} |
|
||||
|
|
||||
img + span { |
:host ::ng-deep { |
||||
padding-left: 60px; |
img { |
||||
} |
max-height: 50px; |
||||
|
min-height: 50px; |
||||
|
position: absolute; |
||||
|
top: -15px; |
||||
|
} |
||||
|
|
||||
span { |
img + span { |
||||
@include truncate; |
padding-left: 60px; |
||||
} |
|
||||
} |
} |
||||
} |
|
||||
|
|
||||
.html-value { |
span { |
||||
position: relative; |
@include truncate; |
||||
|
} |
||||
} |
} |
||||
Loading…
Reference in new issue