fix(institution-card): stabilize header heigh
This commit is contained in:
@@ -1,14 +1,37 @@
|
||||
:host {
|
||||
::ng-deep .mat-mdc-card-header-text {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.card-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
mat-card-title {
|
||||
display: -webkit-box;
|
||||
width: 100%;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
overflow: hidden;
|
||||
line-height: 1.3rem;
|
||||
height: 2.6rem;
|
||||
}
|
||||
|
||||
.city-country {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: var(--sg-text-muted);
|
||||
line-height: 1.25rem;
|
||||
height: 1.25rem;
|
||||
}
|
||||
|
||||
.metrics {
|
||||
@@ -16,6 +39,8 @@
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.metric-item {
|
||||
|
||||
Reference in New Issue
Block a user