nodebb-theme-harmony 1.0.57 → 1.0.58

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.57",
3
+ "version": "1.0.58",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -1,15 +1,14 @@
1
1
  <ul component="category" class="topics-list list-unstyled" itemscope itemtype="http://www.schema.org/ItemList" data-nextstart="{nextStart}" data-set="{set}">
2
2
 
3
3
  {{{ each topics }}}
4
- <li component="category/topic" class="category-item position-relative w-100 border-bottom py-3 py-lg-4 d-flex flex-column flex-lg-row align-items-start {function.generateTopicClass}" <!-- IMPORT partials/data/category.tpl -->>
4
+ <li component="category/topic" class="category-item border-bottom py-3 py-lg-4 d-flex flex-column flex-lg-row align-items-start {function.generateTopicClass}" <!-- IMPORT partials/data/category.tpl -->>
5
5
  <link itemprop="url" content="{config.relative_path}/topic/{./slug}" />
6
6
  <meta itemprop="name" content="{function.stripTags, ./title}" />
7
7
  <meta itemprop="itemListOrder" content="descending" />
8
8
  <meta itemprop="position" content="{./index}" />
9
- <a id="{./index}" data-index="{./index}" component="topic/anchor" class="position-absolute"></a>
9
+ <a id="{./index}" data-index="{./index}" component="topic/anchor"></a>
10
10
 
11
-
12
- <div class="d-flex p-0 col-lg-7 gap-2 gap-lg-3 pe-1 align-items-start">
11
+ <div class="d-flex p-0 col-12 col-lg-7 gap-2 gap-lg-3 pe-1 align-items-start">
13
12
  <div class="flex-shrink-0 position-relative">
14
13
  <a class="text-decoration-none" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">
15
14
  {buildAvatar(./user, "40px", true, "avatar avatar-tooltip")}
@@ -20,7 +19,7 @@
20
19
  </div>
21
20
  {{{ end }}}
22
21
  </div>
23
- <div class="flex-grow-1 d-flex flex-wrap gap-1">
22
+ <div class="flex-grow-1 d-flex flex-wrap gap-1 position-relative">
24
23
  <h3 component="topic/header" class="title text-break fs-5 fw-semibold m-0 tracking-tight w-100 {{{ if showSelect }}}me-4 me-lg-0{{{ end }}}">
25
24
  {{{ if topics.noAnchor }}}
26
25
  <span>{./title}</span>
@@ -61,6 +60,11 @@
61
60
  <span class="visible-xs-inline badge bg-transparent text-muted fw-normal timeago" title="{{{ if ./teaser.timestampISO }}}{./teaser.timestampISO}{{{ else }}}{./timestampISO}{{{ end }}}"></span>
62
61
  {{{ end }}}
63
62
  </span>
63
+ {{{ if showSelect }}}
64
+ <div class="checkbox position-absolute top-0 end-0 m-0 d-flex d-lg-none" style="max-width:max-content">
65
+ <i component="topic/select" class="fa fa-square-o text-muted pointer p-1"></i>
66
+ </div>
67
+ {{{ end }}}
64
68
  </div>
65
69
  {{{ if ./thumbs.length }}}
66
70
  <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 }}}">
@@ -112,11 +116,6 @@
112
116
  </div>
113
117
  </div>
114
118
  </div>
115
- {{{ if showSelect }}}
116
- <div class="checkbox position-absolute top-0 end-0 mt-3 m-0 d-flex d-lg-none" style="max-width:max-content">
117
- <i component="topic/select" class="fa fa-square-o text-muted pointer p-1"></i>
118
- </div>
119
- {{{ end }}}
120
119
  </li>
121
120
  {{{end}}}
122
121
  </ul>