fix(person-funding, person-patents, institution-patents, keywords-patents): flatten patent/funding tables to plain row lines, fix header casing and cell alignment
This commit is contained in:
@@ -103,24 +103,29 @@
|
||||
{{ getMatchTypeLabel(patent) }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="cell-authors">
|
||||
@if (
|
||||
patent.matched_authors && patent.matched_authors.length
|
||||
) {
|
||||
@for (
|
||||
author of patent.matched_authors.slice(0, 2);
|
||||
track author.openalex_author_id
|
||||
<td>
|
||||
<div class="cell-authors">
|
||||
@if (
|
||||
patent.matched_authors && patent.matched_authors.length
|
||||
) {
|
||||
<a
|
||||
class="author-link"
|
||||
[routerLink]="['/person', author.openalex_author_id]"
|
||||
(click)="$event.stopPropagation()">
|
||||
{{ author.author_name }}
|
||||
</a>
|
||||
@for (
|
||||
author of patent.matched_authors.slice(0, 2);
|
||||
track author.openalex_author_id
|
||||
) {
|
||||
<a
|
||||
class="author-link"
|
||||
[routerLink]="[
|
||||
'/person',
|
||||
author.openalex_author_id,
|
||||
]"
|
||||
(click)="$event.stopPropagation()">
|
||||
{{ author.author_name }}
|
||||
</a>
|
||||
}
|
||||
} @else {
|
||||
<span>-</span>
|
||||
}
|
||||
} @else {
|
||||
<span>-</span>
|
||||
}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
||||
@@ -60,21 +60,14 @@ app-query-param-paginator {
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
overflow: hidden;
|
||||
border-collapse: collapse;
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
padding: 12px 16px;
|
||||
background: var(--sg-surface-muted);
|
||||
border-bottom: 1px solid var(--sg-border);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.02em;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text-muted);
|
||||
}
|
||||
|
||||
@@ -89,10 +82,6 @@ app-query-param-paginator {
|
||||
&.selected td {
|
||||
background: var(--sg-primary-soft);
|
||||
}
|
||||
|
||||
&:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
@@ -106,10 +95,9 @@ app-query-param-paginator {
|
||||
.patent-title {
|
||||
color: var(--sg-text);
|
||||
font-weight: 600;
|
||||
max-width: 280px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 320px;
|
||||
white-space: normal;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.cell-preview {
|
||||
|
||||
+5
-17
@@ -39,21 +39,14 @@ app-query-param-paginator {
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
overflow: hidden;
|
||||
border-collapse: collapse;
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
padding: 12px 16px;
|
||||
background: var(--sg-surface-muted);
|
||||
border-bottom: 1px solid var(--sg-border);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.02em;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text-muted);
|
||||
}
|
||||
|
||||
@@ -68,10 +61,6 @@ app-query-param-paginator {
|
||||
&.selected td {
|
||||
background: var(--sg-primary-soft);
|
||||
}
|
||||
|
||||
&:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
@@ -86,9 +75,8 @@ app-query-param-paginator {
|
||||
color: var(--sg-text);
|
||||
font-weight: 600;
|
||||
max-width: 400px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: normal;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.patent-people {
|
||||
|
||||
@@ -38,21 +38,14 @@ app-query-param-paginator {
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
overflow: hidden;
|
||||
border-collapse: collapse;
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
padding: 12px 16px;
|
||||
background: var(--sg-surface-muted);
|
||||
border-bottom: 1px solid var(--sg-border);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.02em;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text-muted);
|
||||
}
|
||||
|
||||
@@ -67,10 +60,6 @@ app-query-param-paginator {
|
||||
&.selected td {
|
||||
background: var(--sg-primary-soft);
|
||||
}
|
||||
|
||||
&:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
|
||||
@@ -42,21 +42,14 @@ app-query-param-paginator {
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border: 1px solid var(--sg-border);
|
||||
border-radius: var(--sg-radius-sm);
|
||||
overflow: hidden;
|
||||
border-collapse: collapse;
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
padding: 12px 16px;
|
||||
background: var(--sg-surface-muted);
|
||||
border-bottom: 1px solid var(--sg-border);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.02em;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text-muted);
|
||||
}
|
||||
|
||||
@@ -71,10 +64,6 @@ app-query-param-paginator {
|
||||
&.selected td {
|
||||
background: var(--sg-primary-soft);
|
||||
}
|
||||
|
||||
&:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
|
||||
Reference in New Issue
Block a user