nodebb-theme-persona 14.2.10 → 14.2.12

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-persona",
3
- "version": "14.2.10",
3
+ "version": "14.2.12",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
package/scss/topic.scss CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  [component="topic/thumb/list"] {
11
- &.thumbs-collapsed a.d-inline-block:nth-of-type(n+4) {
11
+ &.thumbs-collapsed a.d-inline-block:nth-of-type(n+3) {
12
12
  display: none!important;
13
13
  }
14
14
  }
@@ -3,5 +3,5 @@
3
3
  <img class="rounded-1 bg-light" style="width:auto; max-width: 4rem; height: 3.33rem;object-fit: contain;" src="{./url}" />
4
4
  </a>
5
5
  {{{ end }}}{{{ if greaterthan(thumbs.length, "4") }}}
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>
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, "-2")}</button>
7
7
  {{{ end }}}
@@ -17,7 +17,7 @@
17
17
 
18
18
  <div class="topic-header sticky-top mb-3 bg-body">
19
19
  <div class="d-flex flex-wrap gap-3 border-bottom p-2">
20
- <div class="d-flex flex-column gap-2 flex-grow-1">
20
+ <div class="d-flex flex-column gap-2 flex-md-shrink-50">
21
21
  <h1 component="post/header" class="mb-0" itemprop="name">
22
22
  <div class="topic-title d-flex">
23
23
  <span class="fs-3" component="topic/title">{title}</span>
@@ -56,7 +56,7 @@
56
56
  </div>
57
57
  </div>
58
58
  </div>
59
- <div class="d-flex flex-wrap gap-2 align-items-center hidden-empty {{{ if greaterthan(thumbs.length, "4") }}}thumbs-collapsed{{{ end }}}" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
59
+ <div class="flex-shrink-1 d-flex flex-wrap gap-2 align-items-start hidden-empty {{{ if greaterthan(thumbs.length, "4") }}}thumbs-collapsed{{{ end }}}" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
60
60
  </div>
61
61
  </div>
62
62
  {{{ if merger }}}