nodebb-plugin-composer-default 10.2.9 → 10.2.11

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-plugin-composer-default",
3
- "version": "10.2.9",
3
+ "version": "10.2.11",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -71,7 +71,7 @@ define('composer/resize', ['taskbar'], function (taskbar) {
71
71
  var rect = elem.getBoundingClientRect();
72
72
  content.style.paddingBottom = (rect.bottom - rect.top).toString() + 'px';
73
73
  } else {
74
- postContainer.removeAttr('style');
74
+ elem.style.top = 0;
75
75
  content.style.paddingBottom = 0;
76
76
  }
77
77
 
@@ -326,7 +326,7 @@
326
326
  }
327
327
  }
328
328
 
329
- @include media-breakpoint-up(sm) {
329
+ @include media-breakpoint-up(lg) {
330
330
  html.composing {
331
331
  .composer {
332
332
  left: 15%;
@@ -1,10 +1,10 @@
1
1
  <div component="composer" class="composer {{{ if resizable }}} resizable{{{ end }}}{{{ if !isTopicOrMain }}} reply{{{ end }}}">
2
2
  <div class="composer-container d-flex flex-column gap-1 h-100">
3
3
  <!-- mobile header -->
4
- <nav class="navbar fixed-top mobile-navbar hidden-md hidden-lg text-bg-primary flex-nowrap gap-1">
4
+ <nav class="navbar fixed-top mobile-navbar hidden-md hidden-lg text-bg-primary flex-nowrap gap-1 px-1">
5
5
  <div class="btn-group">
6
- <button class="btn btn-sm btn-primary composer-discard" data-action="discard" tabindex="-1"><i class="fa fa-times"></i></button>
7
- <button class="btn btn-sm btn-primary composer-minimize" data-action="minimize" tabindex="-1"><i class="fa fa-minus"></i></button>
6
+ <button class="btn btn-sm btn-primary composer-discard" data-action="discard" tabindex="-1"><i class="fa fa-fw fa-times"></i></button>
7
+ <button class="btn btn-sm btn-primary composer-minimize" data-action="minimize" tabindex="-1"><i class="fa fa-fw fa-minus"></i></button>
8
8
  </div>
9
9
  {{{ if isTopic }}}
10
10
  <div class="category-name-container">
@@ -18,7 +18,7 @@
18
18
  <i class="fa fa-clock-o"></i>
19
19
  </div>
20
20
  <div class="btn-group">
21
- <button class="btn btn-sm btn-primary composer-submit" data-action="post" tabindex="-1"><i class="fa fa-chevron-right"></i></button>
21
+ <button class="btn btn-sm btn-primary composer-submit" data-action="post" tabindex="-1"><i class="fa fa-fw fa-chevron-right"></i></button>
22
22
  </div>
23
23
  </nav>
24
24
  <div class="p-2 d-flex flex-column gap-1 h-100">