person-interesting: reduce card height while topics are loading
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user