nodebb-theme-harmony 1.0.55 → 1.0.56

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.55",
3
+ "version": "1.0.56",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -1,5 +1,5 @@
1
1
  {{{ each thumbs }}}
2
2
  <a class="d-inline-block h-100" href="{./url}">
3
- <img class="rounded-1 h-100" src="{./url}" />
3
+ <img class="rounded-1 h-100 bg-light" style="max-width: 5.33rem; object-fit: contain;" src="{./url}" />
4
4
  </a>
5
5
  {{{ end }}}
@@ -64,7 +64,7 @@
64
64
  </div>
65
65
  {{{ if ./thumbs.length }}}
66
66
  <a class="position-relative text-decoration-none flex-shrink-0 d-none d-xl-block" href="{config.relative_path}/topic/{./slug}{{{ if ./bookmark }}}/{./bookmark}{{{ end }}}">
67
- <img class="topic-thumb rounded-1" style="width:auto;height: 3.33rem;" src="{./thumbs.0.url}"/>
67
+ <img class="topic-thumb rounded-1 bg-light" style="width:auto;max-width: 5.33rem;height: 3.33rem;object-fit: contain;" src="{./thumbs.0.url}"/>
68
68
  <span data-numthumbs="{./thumbs.length}" class="px-1 position-absolute top-0 start-100 translate-middle badge rounded bg-info" style="z-index: 1;">+{increment(./thumbs.length, "-1")}</span>
69
69
  </a>
70
70
  {{{ end }}}
@@ -45,7 +45,7 @@
45
45
  {{{ each posts }}}
46
46
  <div class="card mb-4" data-id="{./id}" data-uid="{./user.uid}">
47
47
  <div class="row g-0">
48
- <div class="col-xs-4 col-lg-3 bg-card-cap rounded-start">
48
+ <div class="col-4 col-lg-3 bg-card-cap rounded-start">
49
49
  <ul class="list-unstyled ps-0 mb-0 border-end h-100">
50
50
  <li class="card-body border-bottom position-relative">
51
51
  {{{ if !singlePost }}}
@@ -175,7 +175,7 @@
175
175
  </li>
176
176
  </ul>
177
177
  </div>
178
- <div class="col-xs-8 col-lg-9 d-flex flex-column">
178
+ <div class="col-8 col-lg-9 d-flex flex-column">
179
179
  <div class="post-content mb-auto text-break p-3 pb-0 h-100">{posts.data.content}</div>
180
180
  <div class="post-content-editable flex-grow-1 hidden">
181
181
  <textarea class="form-control w-100 h-100 p-3">{posts.data.rawContent}</textarea>