Revert "FIX: uses more semantically correct spans in post map (#6555)"
This reverts commit 5cd055fd30
.
This commit is contained in:
parent
8067f8a32c
commit
4417faa7e5
|
@ -86,7 +86,7 @@ createWidget("topic-map-summary", {
|
|||
const contents = [];
|
||||
contents.push(
|
||||
h("li", [
|
||||
h("span.topic-map-post-heading", I18n.t("created_lowercase")),
|
||||
h("h4", I18n.t("created_lowercase")),
|
||||
h("div.topic-map-post.created-at", [
|
||||
avatarFor("tiny", {
|
||||
username: attrs.createdByUsername,
|
||||
|
@ -101,7 +101,7 @@ createWidget("topic-map-summary", {
|
|||
h(
|
||||
"li",
|
||||
h("a", { attributes: { href: attrs.lastPostUrl } }, [
|
||||
h("span.topic-map-post-heading", I18n.t("last_reply_lowercase")),
|
||||
h("h4", I18n.t("last_reply_lowercase")),
|
||||
h("div.topic-map-post.last-reply", [
|
||||
avatarFor("tiny", {
|
||||
username: attrs.lastPostUsername,
|
||||
|
@ -116,19 +116,13 @@ createWidget("topic-map-summary", {
|
|||
contents.push(
|
||||
h("li", [
|
||||
numberNode(attrs.topicReplyCount),
|
||||
h(
|
||||
"span.topic-map-post-heading",
|
||||
I18n.t("replies_lowercase", { count: attrs.topicReplyCount })
|
||||
)
|
||||
h("h4", I18n.t("replies_lowercase", { count: attrs.topicReplyCount }))
|
||||
])
|
||||
);
|
||||
contents.push(
|
||||
h("li.secondary", [
|
||||
numberNode(attrs.topicViews, { className: attrs.topicViewsHeat }),
|
||||
h(
|
||||
"span.topic-map-post-heading",
|
||||
I18n.t("views_lowercase", { count: attrs.topicViews })
|
||||
)
|
||||
h("h4", I18n.t("views_lowercase", { count: attrs.topicViews }))
|
||||
])
|
||||
);
|
||||
|
||||
|
@ -136,10 +130,7 @@ createWidget("topic-map-summary", {
|
|||
contents.push(
|
||||
h("li.secondary", [
|
||||
numberNode(attrs.participantCount),
|
||||
h(
|
||||
"span.topic-map-post-heading",
|
||||
I18n.t("users_lowercase", { count: attrs.participantCount })
|
||||
)
|
||||
h("h4", I18n.t("users_lowercase", { count: attrs.participantCount }))
|
||||
])
|
||||
);
|
||||
}
|
||||
|
@ -148,10 +139,7 @@ createWidget("topic-map-summary", {
|
|||
contents.push(
|
||||
h("li.secondary", [
|
||||
numberNode(attrs.topicLikeCount),
|
||||
h(
|
||||
"span.topic-map-post-heading",
|
||||
I18n.t("likes_lowercase", { count: attrs.topicLikeCount })
|
||||
)
|
||||
h("h4", I18n.t("likes_lowercase", { count: attrs.topicLikeCount }))
|
||||
])
|
||||
);
|
||||
}
|
||||
|
@ -160,10 +148,7 @@ createWidget("topic-map-summary", {
|
|||
contents.push(
|
||||
h("li.secondary", [
|
||||
numberNode(attrs.topicLinkLength),
|
||||
h(
|
||||
"span.topic-map-post-heading",
|
||||
I18n.t("links_lowercase", { count: attrs.topicLinkLength })
|
||||
)
|
||||
h("h4", I18n.t("links_lowercase", { count: attrs.topicLinkLength }))
|
||||
])
|
||||
);
|
||||
}
|
||||
|
|
|
@ -302,8 +302,7 @@ aside.quote {
|
|||
font-size: $font-0;
|
||||
}
|
||||
|
||||
.topic-map-post-heading {
|
||||
display: block;
|
||||
h4 {
|
||||
margin: 1px 0 2px 0;
|
||||
color: dark-light-choose($primary-medium, $secondary-medium);
|
||||
font-weight: normal;
|
||||
|
|
|
@ -164,10 +164,10 @@ a.reply-to-tab {
|
|||
}
|
||||
|
||||
.topic-map {
|
||||
.topic-map-post-heading {
|
||||
margin: 10px 0;
|
||||
h4 {
|
||||
line-height: $line-height-medium;
|
||||
}
|
||||
|
||||
.user {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
|
|
Loading…
Reference in New Issue