nodebb-theme-harmony 1.0.0-beta.93 → 1.0.0-beta.95

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.0-beta.93",
3
+ "version": "1.0.0-beta.95",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -42,12 +42,12 @@
42
42
  {{{ if !./link }}}
43
43
  <div class="d-flex col-lg-5 align-content-stretch">
44
44
  <div class="meta stats d-none d-lg-grid col-6 gap-1 pe-2 text-muted" style="grid-template-columns: 1fr 1fr;">
45
- <div class="card card-header border-0 p-1 overflow-hidden rounded-1 d-flex flex-column gap-1 align-items-center">
45
+ <div class="card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
46
46
  <span class="{./unread-class} human-readable-number fs-5 ff-secondary lh-1" title="{./totalTopicCount}" data-toFixed="0">{./totalTopicCount}</span>
47
47
  <span class="d-none d-xl-flex text-lowercase text-xs">[[global:topics]]</span>
48
48
  <i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-list"></i>
49
49
  </div>
50
- <div class="card card-header border-0 p-1 overflow-hidden rounded-1 d-flex flex-column gap-1 align-items-center">
50
+ <div class="card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
51
51
  <span class="{./unread-class} human-readable-number fs-5 ff-secondary lh-1" title="{./totalPostCount}" data-toFixed="0">{./totalPostCount}</span>
52
52
  <span class="d-none d-xl-flex text-lowercase text-xs">[[global:posts]]</span>
53
53
  <i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-message"></i>
@@ -55,8 +55,8 @@
55
55
  </span>
56
56
  </div>
57
57
  {{{ if ./thumbs.length }}}
58
- <a class="me-2 position-relative text-decoration-none flex-shrink-0 d-none d-xl-block" href="{./thumbs.0.url}" target="_blank">
59
- <img class="topic-thumb rounded-1" width="80" style="height: auto;" src="{./thumbs.0.url}"/>
58
+ <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 }}}">
59
+ <img class="topic-thumb rounded-1" style="width:auto;height: 3.33rem;" src="{./thumbs.0.url}"/>
60
60
  <span data-numthumbs="{./thumbs.length}" class="px-1 position-absolute top-0 start-100 translate-middle badge rounded bg-info">+{increment(./thumbs.length, "-1")}</span>
61
61
  </a>
62
62
  {{{ end }}}
@@ -65,18 +65,18 @@
65
65
  <div class="d-flex p-0 col-lg-5 align-content-stretch">
66
66
  <div class="meta stats d-none d-lg-grid col-6 gap-1 pe-2 text-muted" style="grid-template-columns: 1fr 1fr 1fr;">
67
67
  {{{ if !reputation:disabled }}}
68
- <div class="stats-votes card card-header border-0 p-1 overflow-hidden rounded-1 d-flex flex-column gap-1 align-items-center">
68
+ <div class="stats-votes card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
69
69
  <span class="human-readable-number fs-5 ff-secondary lh-1" title="{./votes}" data-toFixed="0">{./votes}</span>
70
70
  <span class="d-none d-xl-flex text-lowercase text-xs">[[global:votes]]</span>
71
71
  <i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-chevron-up"></i>
72
72
  </div>
73
73
  {{{ end }}}
74
- <div class="stats-postcount card card-header border-0 p-1 overflow-hidden rounded-1 d-flex flex-column gap-1 align-items-center">
74
+ <div class="stats-postcount card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
75
75
  <span class="human-readable-number fs-5 ff-secondary lh-1" title="{./postcount}" data-toFixed="0">{./postcount}</span>
76
76
  <span class="d-none d-xl-flex text-lowercase text-xs">[[global:posts]]</span>
77
77
  <i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-message"></i>
78
78
  </div>
79
- <div class="stats-viewcount card card-header border-0 p-1 overflow-hidden rounded-1 d-flex flex-column gap-1 align-items-center">
79
+ <div class="stats-viewcount card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
80
80
  <span class="human-readable-number fs-5 ff-secondary lh-1" title="{./viewcount}" data-toFixed="0">{./viewcount}</span>
81
81
  <span class="d-none d-xl-flex text-lowercase text-xs">[[global:views]]</span>
82
82
  <i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-eye"></i>
@@ -96,7 +96,7 @@
96
96
  <a class="permalink text-muted timeago text-xs" href="{config.relative_path}/topic/{./slug}/{./teaser.index}" title="{./teaser.timestampISO}">
97
97
  </a>
98
98
  </div>
99
- <div class="post-content text-xs ps-2 line-clamp-2 lh-sm">
99
+ <div class="post-content text-xs ps-2 line-clamp-2 lh-sm text-break">
100
100
  {./teaser.content}
101
101
  </div>
102
102
  {{{ end }}}