person-interesting: reduce card height while topics are loading

This commit is contained in:
2026-07-06 23:27:15 +02:00
parent 8130192a44
commit 058c92227a
2 changed files with 11 additions and 1 deletions
@@ -1,4 +1,4 @@
<aside class="interest-card">
<aside class="interest-card" [class.interest-card-loading]="loading()">
<div class="interest-header">
<h3>Interessant für</h3>
@if (tags().length > 0) {
@@ -10,6 +10,11 @@
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.interest-card-loading {
padding-top: 14px;
padding-bottom: 14px;
}
.interest-header {
display: flex;
align-items: baseline;
@@ -67,6 +72,11 @@
text-align: center;
}
.interest-card-loading .interest-state {
min-height: 48px;
padding: 8px;
}
.interest-state-loading {
flex-direction: column;
gap: 10px;