nodebb-theme-harmony 2.0.25 → 2.0.27

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.0.25",
3
+ "version": "2.0.27",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
package/scss/common.scss CHANGED
@@ -10,6 +10,15 @@ body {
10
10
  text-rendering: optimizeLegibility;
11
11
  }
12
12
 
13
+ @include media-breakpoint-down(lg) {
14
+ body {
15
+ height: 100%;
16
+ .layout-container {
17
+ height: 100%;
18
+ }
19
+ }
20
+ }
21
+
13
22
  // fixes chrome font boosting :/ https://stackoverflow.com/questions/13430897/how-to-override-font-boosting-in-mobile-chrome
14
23
  body * {
15
24
  max-height:1000000px;
@@ -3,7 +3,7 @@
3
3
  {{widgets.header.html}}
4
4
  {{{ end }}}
5
5
  </div>
6
- <div class="row py-2">
6
+ <div class="row flex-fill py-2">
7
7
  <div class="{{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
8
8
  {{{ if pagination.pages.length }}}
9
9
  <div><!-- IMPORT partials/category/selector-dropdown-left.tpl --></div>
@@ -34,7 +34,7 @@
34
34
  {{{ end }}}
35
35
 
36
36
 
37
- <div class="row mt-3">
37
+ <div class="row flex-fill mt-3">
38
38
  <div class="category d-flex flex-column {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
39
39
  <!-- IMPORT partials/category/subcategory.tpl -->
40
40
  {{{ if (topics.length || privileges.topics:create) }}}
@@ -1,4 +1,4 @@
1
- <div component="groups/container" class="groups details">
1
+ <div component="groups/container" class="groups details flex-fill">
2
2
  <div class="cover position-absolute start-0 top-0" component="groups/cover" style="background-image: url({group.cover:url}); background-position: {group.cover:position};">
3
3
  <div class="container">
4
4
  {{{ if group.isOwner }}}
@@ -3,7 +3,7 @@
3
3
  {{widgets.header.html}}
4
4
  {{{end}}}
5
5
  </div>
6
- <div class="groups list">
6
+ <div class="groups list flex-fill">
7
7
  <h3 class="fw-semibold">[[pages:groups]]</h3>
8
8
  <div class="d-flex flex-wrap justify-content-between">
9
9
  <div class="mb-2 mb-md-0">
@@ -1,5 +1,5 @@
1
1
  <!-- IMPORT partials/breadcrumbs.tpl -->
2
- <div class="users">
2
+ <div class="users flex-fill">
3
3
  <div id="users-container" class="users-container row row-cols-2 row-cols-md-3 row-cols-lg-4 row-cols-xl-5 g-4">
4
4
  {{{ each users }}}
5
5
  <!-- IMPORT partials/users/item.tpl -->
@@ -1,4 +1,4 @@
1
- <div class="notifications">
1
+ <div class="notifications flex-fill">
2
2
  <div class="btn-toolbar justify-content-end" role="toolbar">
3
3
  <button class="btn btn-sm btn-light" component="notifications/mark_all">[[notifications:mark-all-read]]</button>
4
4
  </div>
@@ -15,7 +15,8 @@
15
15
  </div>
16
16
  <div>
17
17
  <div class="d-flex justify-content-end gap-2">
18
- <button type="submit" component="topic/quickreply/expand" class="btn btn-ghost btn-sm border" title="[[topic:open-composer]]"><i class="fa fa-expand"></i></button>
18
+ <button type="button" component="topic/quickreply/upload/button" class="btn btn-ghost btn-sm border"><i class="fa fa-upload"></i></button>
19
+ <button type="button" component="topic/quickreply/expand" class="btn btn-ghost btn-sm border" title="[[topic:open-composer]]"><i class="fa fa-expand"></i></button>
19
20
  <button type="submit" component="topic/quickreply/button" class="btn btn-sm btn-primary">[[topic:post-quick-reply]]</button>
20
21
  </div>
21
22
  </div>
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  {{{ end }}}
8
8
 
9
- <div class="row">
9
+ <div class="row flex-fill">
10
10
  <div class="popular {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
11
11
  <!-- IMPORT partials/topic-list-bar.tpl -->
12
12
  <div class="category">
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  {{{ end }}}
8
8
 
9
- <div class="row">
9
+ <div class="row flex-fill">
10
10
  <div class="recent {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
11
11
  <!-- IMPORT partials/topic-list-bar.tpl -->
12
12
 
@@ -1,4 +1,4 @@
1
- <div class="search">
1
+ <div class="search flex-fill">
2
2
  <div id="advanced-search" class="d-flex flex-column flex-md-row">
3
3
  <!-- sidebar -->
4
4
  <div class="flex-shrink-0 pe-2 border-end-md text-sm mb-3" style="flex-basis: 240px!important;">
package/templates/tag.tpl CHANGED
@@ -5,7 +5,7 @@
5
5
  {{{end}}}
6
6
  </div>
7
7
  {{{ end }}}
8
- <div class="row">
8
+ <div class="row flex-fill">
9
9
  <div class="tag {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
10
10
  <!-- IMPORT partials/topic-list-bar.tpl -->
11
11
 
@@ -4,7 +4,7 @@
4
4
  {{{end}}}
5
5
  </div>
6
6
 
7
- <div class="row">
7
+ <div class="row flex-fill">
8
8
  <div class="tags {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
9
9
  <h3 class="fw-semibold">[[pages:tags]]</h3>
10
10
  {{{ if displayTagSearch }}}
package/templates/top.tpl CHANGED
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  {{{ end }}}
8
8
 
9
- <div class="row">
9
+ <div class="row flex-fill">
10
10
  <div class="top {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
11
11
  <!-- IMPORT partials/topic-list-bar.tpl -->
12
12
  <div class="category">
@@ -10,7 +10,7 @@
10
10
  </div>
11
11
  {{{ end }}}
12
12
 
13
- <div itemid="{url}" itemscope itemtype="https://schema.org/DiscussionForumPosting">
13
+ <div class="flex-fill" itemid="{url}" itemscope itemtype="https://schema.org/DiscussionForumPosting">
14
14
  <meta itemprop="headline" content="{escape(titleRaw)}">
15
15
  <meta itemprop="text" content="{escape(titleRaw)}">
16
16
  <meta itemprop="url" content="{url}">
@@ -5,7 +5,7 @@
5
5
  {{{end}}}
6
6
  </div>
7
7
  {{{ end }}}
8
- <div class="row">
8
+ <div class="row flex-fill">
9
9
  <div class="unread {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
10
10
  <!-- IMPORT partials/topic-list-bar.tpl -->
11
11
  <div class="category">
@@ -3,7 +3,7 @@
3
3
  {{widgets.header.html}}
4
4
  {{{end}}}
5
5
  </div>
6
- <div class="users">
6
+ <div class="users flex-fill">
7
7
  <h3 class="fw-semibold">[[global:users]]</h3>
8
8
  <div class="d-flex flex-wrap justify-content-between">
9
9
  <div class="mb-2 mb-md-0">
@@ -27,7 +27,7 @@
27
27
  </p>
28
28
  </div>
29
29
 
30
- <div class="row">
30
+ <div class="row flex-fill">
31
31
  <div class="world {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
32
32
  <!-- IMPORT partials/topic-list-bar.tpl -->
33
33