nodebb-theme-harmony 1.1.52 → 1.1.54

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.52",
3
+ "version": "1.1.54",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.3.0"
6
6
  },
package/public/harmony.js CHANGED
@@ -38,7 +38,7 @@ $(document).ready(function () {
38
38
 
39
39
  hooks.on('filter:chat.openChat', function (hookData) {
40
40
  // disables chat modals & goes straight to chat page based on user setting
41
- hookData.modal = config.theme.chatModals;
41
+ hookData.modal = config.theme.chatModals && !utils.isMobile();
42
42
  return hookData;
43
43
  });
44
44
  });
package/scss/chats.scss CHANGED
@@ -134,7 +134,7 @@ body.page-user-chats {
134
134
  right: 2rem;
135
135
  width: auto!important;
136
136
  height: auto!important;
137
- [component="chat/user/list/btn"] {
137
+ [component="chat/user/list/btn"], [component="chat/pinned/messages/btn"] {
138
138
  display: none!important;
139
139
  }
140
140
  }
@@ -10,7 +10,7 @@
10
10
 
11
11
  <!-- IMPORT partials/chats/options.tpl -->
12
12
 
13
- <button id="chat-close-btn" type="button" class="btn-close btn-ghost-sm" data-bs-dismiss="modal" aria-label="Close"></button>
13
+ <button id="chat-close-btn" type="button" class="btn-close btn-ghost-sm" aria-label="Close"></button>
14
14
  </div>
15
15
  </div>
16
16
  <!-- IMPORT partials/chats/scroll-up-alert.tpl -->