FIX: Adjust mobile list for recent topic list changes (#257)

This commit is contained in:
Jordan Vidrine 2021-11-23 17:47:31 -06:00 committed by GitHub
parent a5120b7574
commit a9a427150e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View File

@ -2,5 +2,6 @@ import TopicListItem from "discourse/components/topic-list-item";
import { equal } from "@ember/object/computed"; import { equal } from "@ember/object/computed";
export default TopicListItem.extend({ export default TopicListItem.extend({
classNames: ["assigned-topic-list-item"],
isPrivateMessage: equal("topic.archetype", "private_message"), isPrivateMessage: equal("topic.archetype", "private_message"),
}); });

View File

@ -1,4 +1,4 @@
<td> <td class="topic-list-data">
<div class="main-link"> <div class="main-link">
{{topic-status topic=topic}} {{topic-status topic=topic}}
{{~#if isPrivateMessage}} {{~#if isPrivateMessage}}

View File

@ -5,6 +5,12 @@
} }
} }
.assigned-topic-list-item {
.pull-right .num.activity {
margin-right: 0.5em;
}
}
.select-kit-row[data-value="unassign-mobile-header"] { .select-kit-row[data-value="unassign-mobile-header"] {
background: rgba(var(--primary-low-rgb), 0.5); background: rgba(var(--primary-low-rgb), 0.5);
pointer-events: none; pointer-events: none;