Merge pull request 'ts-82-author-overview-and-description' (#123) from ts-82-author-overview-and-description into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #123
This commit was merged in pull request #123.
This commit is contained in:
@@ -24,7 +24,7 @@ export class SkTextDirective implements OnChanges {
|
||||
this.originalColor = el.style.color;
|
||||
|
||||
// measure natural width before blanking text
|
||||
const width = Math.min(Math.max(this.originalText.length * 7.5, 48), 280);
|
||||
const width = Math.min(Math.max(this.originalText.length * 7.5, 48), 60);
|
||||
const height = 20;
|
||||
this.renderer.setStyle(el, 'color', 'transparent');
|
||||
this.renderer.setStyle(el, 'background', 'linear-gradient(90deg, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%)');
|
||||
|
||||
@@ -48,13 +48,16 @@
|
||||
</div>
|
||||
<aside class="sidebar">
|
||||
<div class="bio-card">
|
||||
<h3>Biografie</h3>
|
||||
@if (isBioLoading()) {
|
||||
<mat-progress-spinner mode="indeterminate"></mat-progress-spinner>
|
||||
} @else if (personBio() != null) {
|
||||
@if (isBioLoading()){
|
||||
<app-loading text="Biografie wird geladen" icon="description" size="200" diameter="200" ></app-loading>
|
||||
}
|
||||
@else if (personBio() != null) {
|
||||
<h3>Biografie</h3>
|
||||
<p>{{ personBio() }}</p>
|
||||
}
|
||||
</div>
|
||||
|
||||
|
||||
</aside>
|
||||
<app-person-interesting
|
||||
[topics]="primaryTopicCounts()"
|
||||
|
||||
@@ -20,6 +20,7 @@ import { of, switchMap, finalize, map, catchError } from 'rxjs';
|
||||
|
||||
import { PersonInterestingComponent } from '../person-interesting/person-interesting.component';
|
||||
import { PersonsService, WorksService } from '../../api';
|
||||
import { LoadingComponent } from "../../shared/ui/loading/loading.component";
|
||||
|
||||
const PERSON_INCLUDE_TAGS =
|
||||
'topics_full,topic_share,summary_stats,ids,last_known_institutions,' +
|
||||
@@ -34,7 +35,8 @@ const PERSON_INCLUDE_TAGS =
|
||||
RouterOutlet,
|
||||
RouterModule,
|
||||
MatProgressSpinner,
|
||||
],
|
||||
LoadingComponent
|
||||
],
|
||||
templateUrl: './person.component.html',
|
||||
styleUrl: './person.component.scss',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user