more logic for title columns
This commit is contained in:
@@ -68,8 +68,12 @@ export default {
|
|||||||
if (context.topic.pinned || context.topic.pinned_globally) {
|
if (context.topic.pinned || context.topic.pinned_globally) {
|
||||||
classes.push("--pinned");
|
classes.push("--pinned");
|
||||||
}
|
}
|
||||||
if (context.topic.is_hot) {
|
if (
|
||||||
classes.push("--hot");
|
context.topic.is_hot ||
|
||||||
|
context.topic.pinned ||
|
||||||
|
context.topic.pinned_globally
|
||||||
|
) {
|
||||||
|
classes.push("--has-status-card");
|
||||||
}
|
}
|
||||||
return classes;
|
return classes;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -170,11 +170,17 @@
|
|||||||
td.main-link .link-top-line {
|
td.main-link .link-top-line {
|
||||||
font-size: var(--font-0);
|
font-size: var(--font-0);
|
||||||
grid-row: 1/2;
|
grid-row: 1/2;
|
||||||
grid-column: 1/-2;
|
grid-column: 1/-1;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.--has-status-card {
|
||||||
|
td.main-link .link-top-line {
|
||||||
|
grid-column: 1/-2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.link-top-line .event-date {
|
.link-top-line .event-date {
|
||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
font-size: var(--font-down-3);
|
font-size: var(--font-down-3);
|
||||||
|
|||||||
Reference in New Issue
Block a user