title full width on mobile

This commit is contained in:
Jordan Vidrine
2025-03-28 09:04:40 -05:00
parent 1459099b8d
commit 94c31086f9
2 changed files with 15 additions and 18 deletions
@@ -7,23 +7,23 @@ export default class TopicStatusColumn extends Component {
@service siteSettings; @service siteSettings;
get badge() { get badge() {
if (this.args.topic.is_hot) { // if (this.args.topic.is_hot) {
return { // return {
icon: "fire", // icon: "fire",
text: "topic_hot", // text: "topic_hot",
className: "--hot", // className: "--hot",
}; // };
} // }
if (this.args.topic.pinned) { // if (this.args.topic.pinned) {
return { return {
icon: "thumbtack", icon: "thumbtack",
text: "topic_pinned", text: "topic_pinned",
className: "--pinned", className: "--pinned",
}; };
} // }
return null; // return null;
} }
<template> <template>
@@ -65,9 +65,6 @@ export default {
api.registerValueTransformer( api.registerValueTransformer(
"topic-list-item-class", "topic-list-item-class",
({ value: classes, context }) => { ({ value: classes, context }) => {
if (context.topic.pinned || context.topic.pinned_globally) {
classes.push("--pinned");
}
if ( if (
context.topic.is_hot || context.topic.is_hot ||
context.topic.pinned || context.topic.pinned ||