more logic for title columns

This commit is contained in:
Jordan Vidrine
2025-03-27 16:57:31 -05:00
parent e20b83b79d
commit 6364aa74e6
2 changed files with 13 additions and 3 deletions
@@ -68,8 +68,12 @@ export default {
if (context.topic.pinned || context.topic.pinned_globally) {
classes.push("--pinned");
}
if (context.topic.is_hot) {
classes.push("--hot");
if (
context.topic.is_hot ||
context.topic.pinned ||
context.topic.pinned_globally
) {
classes.push("--has-status-card");
}
return classes;
}
+7 -1
View File
@@ -170,11 +170,17 @@
td.main-link .link-top-line {
font-size: var(--font-0);
grid-row: 1/2;
grid-column: 1/-2;
grid-column: 1/-1;
font-weight: 500;
display: flex;
}
&.--has-status-card {
td.main-link .link-top-line {
grid-column: 1/-2;
}
}
.link-top-line .event-date {
margin-left: 0.5em;
font-size: var(--font-down-3);