mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
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:
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user