minor layout fixes

This commit is contained in:
2026-11-13 12:02:35 +01:00
parent e6e8d192cc
commit 4c39933b8d
4 changed files with 22 additions and 22 deletions
@@ -23,7 +23,7 @@
[ariaLabel]="'Vom Modell bewertet: ' + fmtInt(kpis().scoreable)"
[tooltip]="scoreableTooltip"
[detail]="scoreableDetail()" />
<!--
<app-dashboard-statistic-card
label="Unauffällige Profile"
[value]="kpis().passed"
@@ -31,21 +31,21 @@
variant="quality"
[ariaLabel]="'Unauffällige Profile: ' + fmtInt(kpis().passed)"
[tooltip]="qualityTooltip()"
[detail]="qualityDetail()" />
[detail]="qualityDetail()" /> -->
<app-dashboard-statistic-card
label="Auf der Shortlist"
label="Top Kandidat:innen"
[value]="kpis().shortlisted"
[icon]="STAR_ICON"
variant="shortlist"
[ariaLabel]="'Auf der Shortlist: ' + fmtInt(kpis().shortlisted)"
[ariaLabel]="'Top Kandidat:innen: ' + fmtInt(kpis().shortlisted)"
[tooltip]="shortlistTooltip()"
[detail]="shortlistDetail()" />
</section>
<section class="shortlist-section">
<div class="section-heading">
<h2>Shortlist: Top-Kandidat:innen</h2>
<h2>Top-Kandidat:innen</h2>
<mat-icon
class="info-icon"
[matTooltip]="shortlistSectionTooltip"
@@ -79,7 +79,7 @@
(valueChange)="onSliderInput($event)"
(dragEnd)="onSliderCommit($event.value)"
(keyup)="onSliderCommit()"
aria-label="Mindestwert für die Shortlist" />
aria-label="Mindestwert für die Liste der Top-Kandidat:innen" />
</mat-slider>
<span class="controls__value">{{ thresholdDraft() }}</span>
<mat-slide-toggle
@@ -132,7 +132,9 @@
<div class="card__meta">
<span
class="card__career"
[matTooltip]="careerBucketTooltip(row.candidate.career_bucket)"
[matTooltip]="
careerBucketTooltip(row.candidate.career_bucket)
"
matTooltipClass="sg-tooltip-wide"
matTooltipPosition="above">
{{ row.candidate.career_bucket ?? '–' }}
@@ -157,8 +159,9 @@
</div>
<p class="score-caption">
Alle Werte sind Ränge von 0 bis 100 – keine Wahrscheinlichkeiten.
90 heißt: stärker als 90 % der Vergleichsgruppe.
Alle Werte sind Ränge von 0 bis 100 – keine
Wahrscheinlichkeiten. 90 heißt: stärker als 90 % der
Vergleichsgruppe.
</p>
<div class="score-tiles">
@@ -213,9 +216,7 @@
matTooltip="Zahl der Patente mit Bezug zur Einrichtung."
matTooltipClass="sg-tooltip-wide">
Patente
<b>{{
fmtInt(row.candidate.founder_features?.patents)
}}</b>
<b>{{ fmtInt(row.candidate.founder_features?.patents) }}</b>
</app-chip>
<app-chip
variant="outlined"
@@ -235,9 +236,7 @@
matTooltip="Zahl der Förderprojekte."
matTooltipClass="sg-tooltip-wide">
Förderprojekte
<b>{{
fmtInt(row.candidate.founder_features?.grants)
}}</b>
<b>{{ fmtInt(row.candidate.founder_features?.grants) }}</b>
</app-chip>
<app-chip
variant="outlined"
@@ -262,10 +261,10 @@
<mat-icon class="empty-state__icon">{{ FOUNDER_ICON }}</mat-icon>
<h2>Noch keine Gründungspotenzial-Scores</h2>
<p>
Für die <strong>{{ universityName() }}</strong> liegen Forschungsdaten
vor, aber die Gründungspotenzial-Auswertung wurde noch nicht
berechnet. Sobald sie vorliegt, erscheinen hier die Kandidat:innen und
ihre Werte.
Für die <strong>{{ universityName() }}</strong> liegen
Forschungsdaten vor, aber die Gründungspotenzial-Auswertung wurde
noch nicht berechnet. Sobald sie vorliegt, erscheinen hier die
Kandidat:innen und ihre Werte.
</p>
</mat-card-content>
</mat-card>
@@ -180,4 +180,5 @@
.uh-chart {
width: 100%;
height: 100% !important;
}
@@ -497,7 +497,7 @@ export class HierarchyChartComponent implements OnInit {
const colors = this.chartTheme.colors();
return {
backgroundColor: this.chartTheme.colors().backgroundColor,
backgroundColor: '#ffffff',
tooltip: {
trigger: 'item',
triggerOn: 'mousemove',
@@ -524,7 +524,7 @@ export class HierarchyChartComponent implements OnInit {
verticalAlign: 'middle',
align: 'right',
fontSize: 11,
color: colors.text,
color: 'black',
formatter: (params: any) => {
if (params.data.hasChildren) {
return '{bold|' + params.name + '}';
@@ -67,7 +67,7 @@ h3.page-header__title {
}
.page-header__subtitle {
max-width: 90ch;
max-width: 120ch;
margin: 6px 0 0;
color: var(--sg-text-muted);
font-size: 14px;