nodebb-theme-persona 15.1.0 → 15.1.2

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-persona",
3
- "version": "15.1.0",
3
+ "version": "15.1.2",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.15.0"
6
6
  },
package/scss/persona.scss CHANGED
@@ -22,7 +22,6 @@
22
22
  @import "modules/taskbar";
23
23
  @import "modules/fab";
24
24
  @import "modules/morph";
25
- @import "modules/cookie-consent";
26
25
  @import "modules/necro-post";
27
26
  @import "modules/composer";
28
27
  @import "modules/user-menu";
@@ -98,7 +98,7 @@
98
98
  {{{ each customUserFields }}}
99
99
  {{{ if ./value }}}
100
100
  <div class="d-flex gap-1 flex-nowrap align-items-center">
101
- <span class="stat-label">{./name}</span>
101
+ <span class="stat-label">{{tx(./name)}}</span>
102
102
  {{{ if (./type == "input-link") }}}
103
103
  <a class="fw-bold" href="{./value}" rel="nofollow noreferrer">{./linkValue}</a>
104
104
  {{{ else }}}
@@ -27,7 +27,7 @@
27
27
  {{{ if !./isSection }}}
28
28
  <li class="category-children-item small d-flex gap-1 align-items-center text-break">
29
29
  {{buildCategoryIcon(@value, "24px", "rounded-circle")}}
30
- <a href="{{{ if ./link }}}{./link}{{{ else }}}{config.relative_path}/category/{./slug}{{{ end }}}" class="text-reset">{./name}</a>
30
+ <a href="{{{ if ./link }}}{./link}{{{ else }}}{config.relative_path}/category/{./slug}{{{ end }}}" class="text-reset flex-1">{./name}</a>
31
31
  </li>
32
32
  {{{ end }}}
33
33
  {{{ end }}}
@@ -1,13 +0,0 @@
1
- .cookie-consent {
2
- position: fixed;
3
- bottom: 0;
4
- left: 0;
5
- line-height: 3em;
6
- padding-left: 1rem;
7
- width: 100%;
8
- background: rgba(240,240,240,.8);
9
- z-index: $zindex-popover;
10
- a {
11
- font-weight: bold;
12
- }
13
- }
@@ -1,4 +0,0 @@
1
- <div class="cookie-consent">
2
- <button class="float-end btn btn-primary">{{tx(dismiss)}}</button>
3
- {{tx(message)}} <a target="_blank" rel="noopener" href="{link_url}">{{tx(link)}}</a>
4
- </div>