nodebb-theme-harmony 2.2.43 → 2.2.45

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "2.2.43",
3
+ "version": "2.2.45",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
package/scss/world.scss CHANGED
@@ -2,4 +2,10 @@
2
2
  .quick-reply {
3
3
  @include topic-avatars();
4
4
  }
5
+
6
+ [component="post/content"] {
7
+ > p {
8
+ margin-bottom: 1rem;
9
+ }
10
+ }
5
11
  }
@@ -1 +1 @@
1
- <a href="{config.relative_path}/groups/{./slug}" class="badge rounded-1 text-uppercase text-truncate text-decoration-none d-flex gap-1" style="max-width: 150px;color:{./textColor};background-color: {./labelColor};"><i class="fa {{{ if ./icon }}}{./icon}{{{else}}}hidden{{{ end }}}"></i><span class="badge-text">{{{ if ./userTitle }}}{./userTitle}{{{ end }}}</span></a>
1
+ <a href="{config.relative_path}/groups/{./slug}" class="badge rounded-1 text-uppercase text-truncate text-decoration-none d-flex align-items-center gap-1" style="max-width: 150px; line-height: normal; color:{./textColor};background-color: {./labelColor};"><i class="fa {{{ if ./icon }}}{./icon}{{{else}}}hidden{{{ end }}}"></i><span class="badge-text">{{{ if ./userTitle }}}{./userTitle}{{{ end }}}</span></a>
@@ -66,11 +66,19 @@
66
66
  </ul>
67
67
  </div>
68
68
 
69
- {{{ if posts.length }}}
70
69
  <div class="col-lg-8 col-sm-12">
71
- {{{ if posts.length }}}
72
70
  <!-- IMPORT partials/topic-list-bar.tpl -->
73
71
  <!-- IMPORT partials/topic/quickreply.tpl -->
72
+ {{{ if !posts.length }}}
73
+ <div>
74
+ <h2 class="fs-4 mb-3">
75
+ <i class="fa fa-comment-nodes"></i>
76
+ [[world:onboard.title]]
77
+ </h2>
78
+ <p>[[world:onboard.what]]</p>
79
+ <p>[[world:onboard.why]]</p>
80
+ <p>[[world:onboard.how]]</p>
81
+ </div>
74
82
  {{{ end }}}
75
83
  <ul class="list-unstyled" id="world-feed">
76
84
  {{{ each posts }}}
@@ -82,19 +90,6 @@
82
90
  <!-- IMPORT partials/paginator.tpl -->
83
91
  {{{ end }}}
84
92
  </div>
85
- {{{ else }}}
86
- <div class="col-lg-8 col-sm-12 d-flex gap-3 align-items-top">
87
- <div>
88
- <h2 class="fs-4 mb-3">
89
- <i class="fa fa-comment-nodes"></i>
90
- [[world:onboard.title]]
91
- </h2>
92
- <p>[[world:onboard.what]]</p>
93
- <p>[[world:onboard.why]]</p>
94
- <p>[[world:onboard.how]]</p>
95
- </div>
96
- </div>
97
- {{{ end }}}
98
93
  </div>
99
94
  </div>
100
95
  </div>