title full width on mobile
This commit is contained in:
@@ -7,23 +7,23 @@ export default class TopicStatusColumn extends Component {
|
||||
@service siteSettings;
|
||||
|
||||
get badge() {
|
||||
if (this.args.topic.is_hot) {
|
||||
return {
|
||||
icon: "fire",
|
||||
text: "topic_hot",
|
||||
className: "--hot",
|
||||
};
|
||||
}
|
||||
// if (this.args.topic.is_hot) {
|
||||
// return {
|
||||
// icon: "fire",
|
||||
// text: "topic_hot",
|
||||
// className: "--hot",
|
||||
// };
|
||||
// }
|
||||
|
||||
if (this.args.topic.pinned) {
|
||||
return {
|
||||
icon: "thumbtack",
|
||||
text: "topic_pinned",
|
||||
className: "--pinned",
|
||||
};
|
||||
}
|
||||
// if (this.args.topic.pinned) {
|
||||
return {
|
||||
icon: "thumbtack",
|
||||
text: "topic_pinned",
|
||||
className: "--pinned",
|
||||
};
|
||||
// }
|
||||
|
||||
return null;
|
||||
// return null;
|
||||
}
|
||||
|
||||
<template>
|
||||
|
||||
@@ -65,9 +65,6 @@ export default {
|
||||
api.registerValueTransformer(
|
||||
"topic-list-item-class",
|
||||
({ value: classes, context }) => {
|
||||
if (context.topic.pinned || context.topic.pinned_globally) {
|
||||
classes.push("--pinned");
|
||||
}
|
||||
if (
|
||||
context.topic.is_hot ||
|
||||
context.topic.pinned ||
|
||||
|
||||
Reference in New Issue
Block a user