nodebb-theme-harmony 1.1.76 → 1.1.78

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.76",
3
+ "version": "1.1.78",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
@@ -0,0 +1 @@
1
+ .category-header .description p { margin: 0; }
package/scss/harmony.scss CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  @import "header";
6
6
  @import "topic";
7
+ @import "category";
7
8
  @import "chats";
8
9
  @import "sidebar";
9
10
  @import "status";
@@ -1,13 +1,13 @@
1
1
  <!-- IMPORT partials/breadcrumbs.tpl -->
2
- <div class="d-flex flex-column gap-2">
2
+ <div class="category-header d-flex flex-column gap-2">
3
3
  <div class="d-flex gap-2 align-items-center mb-1 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
4
4
  {buildCategoryIcon(@value, "40px", "rounded-1 flex-shrink-0")}
5
5
  <h1 class="tracking-tight fs-2 fw-semibold mb-0 text-center">{./name}</h1>
6
6
  </div>
7
7
  {{{ if ./descriptionParsed }}}
8
- <div class="description text-muted text-sm w-100">
9
- {./descriptionParsed}
10
- </div>
8
+ <div class="description text-muted text-sm w-100 {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}">
9
+ {./descriptionParsed}
10
+ </div>
11
11
  {{{ end }}}
12
12
  <div class="d-flex flex-wrap gap-2 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
13
13
  <span class="badge text-body border border-gray-300 stats text-xs">