nodebb-theme-harmony 2.0.5 → 2.0.7

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.5",
3
+ "version": "2.0.7",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -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 }}}
@@ -49,7 +49,7 @@
49
49
  <div class="d-flex hidden-xs gap-2"><!-- IMPORT partials/topic/stats.tpl --></div>
50
50
  </div>
51
51
  </div>
52
- <div class="d-flex gap-2 align-items-center mt-2 hidden-empty" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
52
+ <div class="d-flex flex-wrap gap-2 align-items-center mt-2 hidden-empty" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
53
53
  </div>
54
54
 
55
55
  <div class="row mb-4 mb-lg-0">