nodebb-theme-harmony 2.0.6 → 2.0.8

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.0.6",
3
+ "version": "2.0.8",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -43,7 +43,7 @@
43
43
  <div class="stat">
44
44
  <div class="align-items-center justify-content-center card card-header p-3 border-0 rounded-1 h-100 gap-2">
45
45
  <span class="stat-label text-xs fw-semibold"><i class="text-muted fa-solid fa-user-plus"></i> <span>[[user:joined]]</span></span>
46
- <span class="timeago fs-6 ff-secondary" title="{joindateISO}"></span>
46
+ <span class="timeago text-center text-break w-100 px-2 fs-6 ff-secondary" title="{joindateISO}"></span>
47
47
  </div>
48
48
  </div>
49
49
 
@@ -21,25 +21,27 @@
21
21
  </div>
22
22
  <div class="post-container d-flex gap-2 flex-grow-1 flex-column w-100" style="min-width:0;">
23
23
  <div class="d-flex align-items-start justify-content-between gap-1 flex-nowrap w-100 post-header" itemprop="author" itemscope itemtype="https://schema.org/Person">
24
- <div class="d-flex gap-1 flex-wrap align-items-center">
24
+ <div class="d-flex gap-1 flex-wrap align-items-center text-truncate">
25
25
  <meta itemprop="name" content="{./user.displayname}">
26
26
  {{{ if ./user.userslug }}}<meta itemprop="url" content="{config.relative_path}/user/{./user.userslug}">{{{ end }}}
27
27
 
28
- <div class="bg-body d-sm-none">
29
- <a class="d-inline-block position-relative text-decoration-none" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">
30
- {buildAvatar(posts.user, "20px", true, "", "user/picture")}
31
- {{{ if ./user.isLocal }}}
32
- <span component="user/status" class="position-absolute top-100 start-100 border border-white border-2 rounded-circle status {posts.user.status}"><span class="visually-hidden">[[global:{posts.user.status}]]</span></span>
33
- {{{ else }}}
34
- <span component="user/locality" class="position-absolute top-100 start-100 lh-1 border border-white border-2 rounded-circle small" title="[[global:remote-user]]">
35
- <span class="visually-hidden">[[global:remote-user]]</span>
36
- <i class="fa fa-globe"></i>
37
- </span>
38
- {{{ end }}}
39
- </a>
40
- </div>
28
+ <div class="d-flex flex-nowrap gap-1 align-items-center text-truncate">
29
+ <div class="bg-body d-sm-none">
30
+ <a class="d-inline-block position-relative text-decoration-none" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">
31
+ {buildAvatar(posts.user, "20px", true, "", "user/picture")}
32
+ {{{ if ./user.isLocal }}}
33
+ <span component="user/status" class="position-absolute top-100 start-100 border border-white border-2 rounded-circle status {posts.user.status}"><span class="visually-hidden">[[global:{posts.user.status}]]</span></span>
34
+ {{{ else }}}
35
+ <span component="user/locality" class="position-absolute top-100 start-100 lh-1 border border-white border-2 rounded-circle small" title="[[global:remote-user]]">
36
+ <span class="visually-hidden">[[global:remote-user]]</span>
37
+ <i class="fa fa-globe"></i>
38
+ </span>
39
+ {{{ end }}}
40
+ </a>
41
+ </div>
41
42
 
42
- <a class="fw-bold text-nowrap" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
43
+ <a class="fw-bold text-nowrap text-truncate" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
44
+ </div>
43
45
 
44
46
  {{{ each posts.user.selectedGroups }}}
45
47
  {{{ if posts.user.selectedGroups.slug }}}