nodebb-theme-harmony 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/scss/topic.scss
CHANGED
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.topic {
|
|
10
|
-
.posts {
|
|
10
|
+
.posts-container {
|
|
11
11
|
max-width: 960px;
|
|
12
12
|
width: 960px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.posts {
|
|
13
16
|
// fixes code blocks pushing content out on mobile
|
|
14
17
|
@include media-breakpoint-down(md) {
|
|
15
18
|
max-width: calc(100vw - $grid-gutter-width);
|
|
@@ -81,7 +84,6 @@
|
|
|
81
84
|
}
|
|
82
85
|
|
|
83
86
|
.quick-reply {
|
|
84
|
-
max-width: 960px;
|
|
85
87
|
@include topic-avatars();
|
|
86
88
|
}
|
|
87
89
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="pagination-block d-none d-lg-block flex-grow-1 mb-
|
|
1
|
+
<div class="pagination-block d-none d-lg-block flex-grow-1 mb-4">
|
|
2
2
|
<div class="d-flex justify-content-end sticky-top mt-4" style="top:6rem;z-index:1;">
|
|
3
3
|
<div class="ps-1 ps-md-0 d-inline-block">
|
|
4
4
|
<div class="scroller-content d-flex gap-2 flex-column align-items-start">
|
package/templates/topic.tpl
CHANGED
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
{{{ end }}}
|
|
57
57
|
|
|
58
58
|
<div class="d-flex gap-0 gap-lg-5">
|
|
59
|
-
<
|
|
59
|
+
<div class="posts-container" style="min-width: 0;">
|
|
60
|
+
<ul component="topic" class="posts timeline list-unstyled mt-sm-2 p-0 py-3" style="min-width: 0;" data-tid="{tid}" data-cid="{cid}">
|
|
60
61
|
{{{each posts}}}
|
|
61
62
|
<li component="post" class="pt-4 {{{ if posts.deleted }}}deleted{{{ end }}} {{{ if posts.selfPost }}}self-post{{{ end }}} {{{ if posts.topicOwnerPost }}}topic-owner-post{{{ end }}}" <!-- IMPORT partials/data/topic.tpl -->>
|
|
62
63
|
<a component="post/anchor" data-index="{./index}" id="{increment(./index, "1")}"></a>
|
|
@@ -72,22 +73,21 @@
|
|
|
72
73
|
{{{ end }}}
|
|
73
74
|
{{{ end }}}
|
|
74
75
|
{{{end}}}
|
|
75
|
-
|
|
76
|
+
</ul>
|
|
77
|
+
{{{ if browsingUsers }}}
|
|
78
|
+
<div class="visible-xs">
|
|
79
|
+
<!-- IMPORT partials/topic/browsing-users.tpl -->
|
|
80
|
+
<hr/>
|
|
81
|
+
</div>
|
|
82
|
+
{{{ end }}}
|
|
83
|
+
{{{ if config.theme.enableQuickReply }}}
|
|
84
|
+
<!-- IMPORT partials/topic/quickreply.tpl -->
|
|
85
|
+
{{{ end }}}
|
|
86
|
+
</div>
|
|
76
87
|
|
|
77
88
|
<!-- IMPORT partials/topic/navigator.tpl -->
|
|
78
89
|
</div>
|
|
79
90
|
|
|
80
|
-
{{{ if browsingUsers }}}
|
|
81
|
-
<div class="visible-xs">
|
|
82
|
-
<!-- IMPORT partials/topic/browsing-users.tpl -->
|
|
83
|
-
<hr/>
|
|
84
|
-
</div>
|
|
85
|
-
{{{ end }}}
|
|
86
|
-
|
|
87
|
-
{{{ if config.theme.enableQuickReply }}}
|
|
88
|
-
<!-- IMPORT partials/topic/quickreply.tpl -->
|
|
89
|
-
{{{ end }}}
|
|
90
|
-
|
|
91
91
|
{{{ if config.usePagination }}}
|
|
92
92
|
<!-- IMPORT partials/paginator.tpl -->
|
|
93
93
|
{{{ end }}}
|