DEV: makes user-stream an unordered list (#11770)

Note, ideally we would drop tagName usage, but I think it's safer to do it in a separate PR in few weeks.
This commit is contained in:
Joffrey JAFFEUX
2021-01-20 15:57:38 +01:00
committed by GitHub
parent a8169e93c2
commit 54a01701d7
3 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,8 @@ import { computed } from "@ember/object";
import { propertyEqual } from "discourse/lib/computed";
export default Component.extend({
tagName: "li",
classNameBindings: [
":user-stream-item",
":item", // DEPRECATED: 'item' class

View File

@ -13,6 +13,8 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import { schedule } from "@ember/runloop";
export default Component.extend(LoadMore, {
tagName: "ul",
_initialize: on("init", function () {
const filter = this.get("stream.filter");
if (filter) {

View File

@ -10,6 +10,7 @@
background-color: var(--secondary);
border-bottom: 1px solid var(--primary-low);
padding: 1em 0.53em;
list-style: none;
&.moderator-action {
background-color: var(--highlight-medium);