title full width on mobile
This commit is contained in:
@@ -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 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user