fix(patents): clamp patent title to 3 lines
This commit is contained in:
@@ -72,6 +72,13 @@ mat-paginator {
|
||||
background-color: var(--sg-background);
|
||||
}
|
||||
|
||||
:host {
|
||||
::ng-deep .mat-mdc-card-header-text {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 0.5rem;
|
||||
background-color: var(--sg-card-bg);
|
||||
@@ -85,9 +92,16 @@ mat-paginator {
|
||||
}
|
||||
|
||||
mat-card-title {
|
||||
display: -webkit-box;
|
||||
width: 100%;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
line-clamp: 3;
|
||||
overflow: hidden;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
height: calc(1.4em * 3);
|
||||
color: var(--sg-text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user