nodebb-theme-harmony 1.0.36 → 1.0.37

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": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
package/scss/topic.scss CHANGED
@@ -7,10 +7,6 @@
7
7
  font-weight: $font-weight-semibold;
8
8
  }
9
9
 
10
- .tag-list:empty {
11
- display: none !important;
12
- }
13
-
14
10
  [component="topic/reply"], [component="topic/reply/locked"], [component="topic/reply/guest"] {
15
11
  font-size: 14px;
16
12
  line-height: 20px;
@@ -0,0 +1,5 @@
1
+ {{{ each thumbs }}}
2
+ <a class="d-inline-block h-100" href="{./url}">
3
+ <img class="rounded-1 h-100" src="{./url}" />
4
+ </a>
5
+ {{{ end }}}
@@ -34,19 +34,13 @@
34
34
  {{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}
35
35
  </span>
36
36
  <a class="lh-1" href="{config.relative_path}/category/{category.slug}">{function.buildCategoryLabel, category, "border"}</a>
37
- <div data-tid="{./tid}" component="topic/tags" class="lh-1 tags tag-list d-flex flex-wrap hidden-xs gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
37
+ <div data-tid="{./tid}" component="topic/tags" class="lh-1 tags tag-list d-flex flex-wrap hidden-xs hidden-empty gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
38
38
  <div class="d-flex hidden-xs gap-2">
39
39
  <!-- IMPORT partials/topic/stats.tpl -->
40
40
  </div>
41
41
  </div>
42
42
  </div>
43
- <div class="d-flex gap-2 justify-content-end align-items-center mt-2" component="topic/thumb/list">
44
- {{{ each thumbs }}}
45
- <a class="d-inline-block h-100" href="{./url}">
46
- <img class="rounded-1 h-100" src="{./url}" />
47
- </a>
48
- {{{ end }}}
49
- </div>
43
+ <div class="d-flex gap-2 justify-content-end align-items-center mt-2 hidden-empty" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
50
44
  </div>
51
45
 
52
46
  <div class="row">