nodebb-theme-harmony 1.1.18 → 1.1.20

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.1.18",
3
+ "version": "1.1.20",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.3.0"
6
6
  },
@@ -2,7 +2,7 @@
2
2
  {{{ each ./posts }}}
3
3
  {{{ if @first }}}
4
4
  <div component="category/posts" class="ps-2 text-xs d-flex flex-column h-100 gap-1">
5
- <div>
5
+ <div class="text-nowrap text-truncate">
6
6
  <a class="text-decoration-none" href="{config.relative_path}/user/{./user.userslug}">{buildAvatar(posts.user, "18px", true, "avatar-tooltip")}</a>
7
7
  <a class="permalink text-muted" href="{config.relative_path}/topic/{./topic.slug}{{{ if ./index }}}/{./index}{{{ end }}}">
8
8
  <span class="timeago text-xs" title="{../timestampISO}"></span>
@@ -1,6 +1,9 @@
1
1
  <div class="d-flex gap-1 align-items-stretch">
2
2
  <!-- search -->
3
- <div class="position-relative align-self-center">
3
+ <button class="btn-ghost-sm" component="chat/room/search/toggle" data-manual-tooltip="1" title="[[global:header.search]]">
4
+ <i class="fa fa-search text-muted"></i>
5
+ </button>
6
+ <div component="chat/room/search/container" class="position-relative hidden align-self-center">
4
7
  <input component="chat/room/search" class="form-control form-control-sm" placeholder="[[search:type-to-search]]" style="width: 150px;">
5
8
  <a component="chat/room/search/clear" href="#" class="hidden px-2 py-1 position-absolute top-50 end-0 translate-middle-y">
6
9
  <i class="fa fa-times text-muted opacity-75"></i>