nodebb-theme-harmony 1.0.27 → 1.0.29

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.0.27",
3
+ "version": "1.0.29",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -22,19 +22,7 @@
22
22
  <!-- IMPORT partials/chats/messages.tpl -->
23
23
  </ul>
24
24
 
25
- <div component="chat/composer" class="d-flex flex-column flex-md-row gap-2 border-top pt-2 align-items-start align-items-md-end">
26
- <div class="w-100 flex-grow-1 flex-nowrap position-relative input-group">
27
- <button component="chat/upload/button" class="btn btn-outline-primary btn-sm align-self-stretch px-3 px-md-2" type="button"><i class="fa fa-fw fa-upload"></i></button>
28
- <div class="flex-grow-1 position-relative">
29
- <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap rounded-0" style="height:0;max-height:30vh;resize:none;"></textarea>
30
- <span component="chat/message/remaining" class="text-xs text-muted position-absolute me-1 mb-1 end-0 bottom-0">{maximumChatMessageLength}</span>
31
- </div>
32
- <button class="btn btn-primary btn-sm align-self-stretch px-3 px-md-2" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane"></i></button>
33
- </div>
34
- <form class="hidden" component="chat/upload" method="post" enctype="multipart/form-data">
35
- <input type="file" name="files[]" multiple class="hidden"/>
36
- </form>
37
- </div>
25
+ <!-- IMPORT partials/chats/composer.tpl -->
38
26
  </div>
39
27
  <div class="imagedrop"><div>[[topic:composer.drag_and_drop_images]]</div></div>
40
28
  </div>
@@ -0,0 +1,13 @@
1
+ <div component="chat/composer" class="d-flex flex-column flex-md-row gap-2 border-top pt-2 align-items-start align-items-md-end">
2
+ <div class="w-100 flex-grow-1 flex-nowrap position-relative d-flex rounded-2 border border-secondary p-1 align-items-end">
3
+ <button component="chat/upload/button" class="btn-ghost-sm px-2" type="button"><i class="fa fa-fw fa-upload"></i></button>
4
+ <div class="flex-grow-1 align-self-center">
5
+ <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="bg-transparent text-body form-control chat-input mousetrap rounded-0 border-0 shadow-none ps-1 py-0" style="min-height: 1.5rem;height:0;max-height:30vh;resize:none;"></textarea>
6
+ </div>
7
+ <div component="chat/message/remaining" class="text-xs text-muted me-1">{maximumChatMessageLength}</div>
8
+ <button class="btn-ghost-sm px-2" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane text-primary"></i></button>
9
+ </div>
10
+ <form class="hidden" component="chat/upload" method="post" enctype="multipart/form-data">
11
+ <input type="file" name="files[]" multiple class="hidden"/>
12
+ </form>
13
+ </div>
@@ -21,18 +21,6 @@
21
21
  <ul class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1">
22
22
  <!-- IMPORT partials/chats/messages.tpl -->
23
23
  </ul>
24
- <div component="chat/composer" class="d-flex flex-column flex-md-row gap-2 border-top pt-2 align-items-start align-items-md-end">
25
- <div class="w-100 flex-grow-1 flex-nowrap position-relative input-group">
26
- <button component="chat/upload/button" class="btn btn-outline-primary btn-sm align-self-stretch px-3 px-md-2" type="button"><i class="fa fa-fw fa-upload"></i></button>
27
- <div class="flex-grow-1 position-relative">
28
- <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap rounded-0" style="height:0;max-height:30vh;resize:none;"></textarea>
29
- <span component="chat/message/remaining" class="text-xs text-muted position-absolute me-1 mb-1 end-0 bottom-0">{maximumChatMessageLength}</span>
30
- </div>
31
- <button class="btn btn-primary btn-sm align-self-stretch px-3 px-md-2" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane"></i></button>
32
- </div>
33
- <form class="hidden" component="chat/upload" method="post" enctype="multipart/form-data">
34
- <input type="file" name="files[]" multiple class="hidden"/>
35
- </form>
36
- </div>
24
+ <!-- IMPORT partials/chats/composer.tpl -->
37
25
  </div>
38
26
  {{{ end }}}