nodebb-theme-harmony 2.1.30 → 2.1.31

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.1.30",
3
+ "version": "2.1.31",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  {{{ end }}}
16
16
  {{{ if ./handleFull }}}
17
- <p class="text-secondary text-sm fst-italic">
17
+ <p class="text-secondary text-sm fst-italic {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}">
18
18
  [[category:handle.description, {handleFull}]]
19
19
  <a href="#" class="link-secondary" data-action="copy" data-clipboard-text="{handleFull}"><i class="fa fa-fw fa-copy" aria-hidden="true"></i></a>
20
20
  </p>
@@ -2,7 +2,6 @@
2
2
  <a class="d-inline-block" href="{./url}">
3
3
  <img class="rounded-1 bg-light" style="width:auto; max-width: 5.33rem; height: 3.33rem; object-fit: contain;" src="{./url}" />
4
4
  </a>
5
- {{{ end }}}
6
- {{{ if greaterthan(thumbs.length, "4") }}}
5
+ {{{ end }}}{{{ if greaterthan(thumbs.length, "4") }}}
7
6
  <button component="topic/thumb/list/expand" class="btn btn-light fw-semibold" style="width:auto; max-width: 5.33rem; height: 3.33rem; object-fit: contain;">+{increment(thumbs.length, "-3")}</button>
8
7
  {{{ end }}}
@@ -30,7 +30,7 @@
30
30
  </div>
31
31
 
32
32
  <div class="d-flex flex-column gap-3">
33
- <div class="d-flex gap-2 flex-wrap flex-column flex-md-row justify-content-between">
33
+ <div class="d-flex gap-2 flex-wrap flex-column flex-md-row {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ else }}}justify-content-between{{{ end }}}">
34
34
  <div class="d-flex flex-column gap-3">
35
35
  <h1 component="post/header" class="tracking-tight fw-semibold fs-3 mb-0 text-break {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}">
36
36
  <span class="topic-title" component="topic/title">{title}</span>