nodebb-theme-harmony 2.1.10 → 2.1.12

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.1.10",
3
+ "version": "2.1.12",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -41,7 +41,7 @@
41
41
  "@fontsource/poppins": "5.0.8"
42
42
  },
43
43
  "devDependencies": {
44
- "eslint": "9.25.1",
45
- "eslint-config-nodebb": "^1.1.3"
44
+ "eslint": "9.26.0",
45
+ "eslint-config-nodebb": "^1.1.4"
46
46
  }
47
47
  }
@@ -143,7 +143,7 @@
143
143
  {{{ if history.flags.targetPurged }}}
144
144
  <div>[[flags:target-purged]]</div>
145
145
  {{{ else }}}
146
- <a class="title" href="{config.relative_path}/post/{./pid}">{./title}</a>
146
+ <a class="title" href="{config.relative_path}/post/{encodeURIComponent(./pid)}">{./title}</a>
147
147
  {{{ end }}}
148
148
  </p>
149
149
  {{{ end }}}
@@ -9,7 +9,7 @@
9
9
  <h1 class="tracking-tight fs-2 fw-semibold mb-0">{./name}</h1>
10
10
  </div>
11
11
  {{{ if ./descriptionParsed }}}
12
- <div class="description text-secondary text-sm w-100 {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}">
12
+ <div class="description text-secondary text-sm w-100 {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}} line-clamp-4 clamp-fade-4">
13
13
  {./descriptionParsed}
14
14
  </div>
15
15
  {{{ end }}}