Skip to content
Permalink
Browse files
fix(results): display xml a better way (DEV-96) (#593)
  • Loading branch information
kilchenmann committed Nov 19, 2021
1 parent df09a13 commit d968f2faca57f579efdbcb014797ad411b1b0067
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
@@ -27,9 +27,7 @@
{{ resource.entityInfo.properties[val.property].label }}
</span>

<div class="res-prop-value">
{{ val.strval | appTruncate: 256:"..." }}
</div>
<div class="res-prop-value shorten-long-text" [innerHtml]="val.strval"></div>
</div>
</mat-card-content>
</div>
@@ -16,10 +16,7 @@ <h3 matLine class="res-class-value">{{ resource.label }}</h3>
<span class="res-prop-label">
{{ resource.entityInfo.properties[val.property].label }}
</span>

<div class="res-prop-value">
{{ val.strval | appTruncate: 256:"..." }}
</div>
<div class="res-prop-value shorten-long-text" [innerHtml]="val.strval"></div>
</div>
</div>
</div>
@@ -18,10 +18,6 @@
margin: 0 15px;
}

.res-prop-value {
text-align: justify;
}

.res-class-label,
.res-prop-label {
color: rgba(0, 0, 0, 0.54);
@@ -670,6 +670,16 @@ $gc-small: $form-width - $gc-large - 4;
.search-results-title {
color: rgba(0, 0, 0, 1) !important;
}

.shorten-long-text {
text-align: justify;
white-space: nowrap;
overflow: hidden;
width: 100%;
max-height: 42px;
text-overflow: ellipsis;
display: block;
}
// --------------------------------------

//

0 comments on commit d968f2f

Please sign in to comment.