nodebb-theme-harmony 2.2.17 → 2.2.19

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.17",
3
+ "version": "2.2.19",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
package/scss/topic.scss CHANGED
@@ -114,7 +114,7 @@ body.template-topic {
114
114
 
115
115
 
116
116
  [component="topic/thumb/list"] {
117
- &.thumbs-collapsed a.d-inline-block:nth-of-type(n+4) {
117
+ &.thumbs-collapsed a.d-inline-block:nth-of-type(n+3) {
118
118
  display: none!important;
119
119
  }
120
120
  > a {
@@ -1,5 +1,5 @@
1
1
  <div component="topic/reply/container" class="btn-group {{{ if !privileges.topics:reply }}}hidden{{{ end }}}">
2
- <a href="{config.relative_path}/compose?tid={tid}" class="d-flex {{{ if !config.theme.topicSidebarTools}}}px-3{{{ end }}} gap-2 align-items-center btn btn-sm btn-primary fw-semibold" component="topic/reply" data-ajaxify="false" role="button"><i class="fa fa-fw fa-reply {{{ if !config.theme.topicSidebarTools}}} d-sm-block d-md-none {{{ end }}}"></i><span class="d-none d-md-block text-truncate text-nowrap">[[topic:reply]]</span></a>
2
+ <a href="{config.relative_path}/compose?tid={tid}" class="d-flex {{{ if !config.theme.topicSidebarTools}}}px-3{{{ end }}} gap-2 align-items-center btn btn-sm btn-primary fw-semibold" component="topic/reply" data-ajaxify="false" role="button"><i class="fa fa-fw fa-reply d-none {{{ if config.theme.topicSidebarTools}}} d-md-block{{{ end }}}"></i><span class="text-truncate text-nowrap">[[topic:reply]]</span></a>
3
3
  <button type="button" class="btn btn-sm btn-primary dropdown-toggle flex-0" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="[[topic:reply-options]]">
4
4
  <span class="caret"></span>
5
5
  </button>
@@ -3,5 +3,5 @@
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
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 }}}
@@ -31,7 +31,7 @@
31
31
 
32
32
  <div class="d-flex flex-column gap-3">
33
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
- <div class="d-flex flex-column gap-3">
34
+ <div class="d-flex flex-column gap-3 flex-md-shrink-50">
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>
37
37
  </h1>
@@ -57,7 +57,7 @@
57
57
  <div class="d-flex gap-2" component="topic/stats"><!-- IMPORT partials/topic/stats.tpl --></div>
58
58
  </div>
59
59
  </div>
60
- <div class="d-flex flex-wrap gap-2 align-items-start mt-2 hidden-empty {{{ if greaterthan(thumbs.length, "4") }}}thumbs-collapsed{{{ end }}}" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
60
+ <div class="flex-shrink-1 d-flex flex-wrap gap-2 align-items-start mt-2 hidden-empty {{{ if greaterthan(thumbs.length, "4") }}}thumbs-collapsed{{{ end }}}" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
61
61
  </div>
62
62
 
63
63
  <div class="row mb-4 mb-lg-0">