zmp-cli 3.8.1 → 3.8.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": "zmp-cli",
3
- "version": "3.8.1",
3
+ "version": "3.8.2",
4
4
  "description": "ZMP command line utility (CLI)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -38,6 +38,10 @@
38
38
  cursor: grab;
39
39
  }
40
40
 
41
+ #zalo-frame.transparent-nav {
42
+ height: calc(100vh - 30px);
43
+ }
44
+
41
45
  .wrapper-frame {
42
46
  width: 100%;
43
47
  height: 100vh;
@@ -224,9 +228,11 @@
224
228
  }
225
229
  function configTopBar(navColor, statusBarColor) {
226
230
  if (navColor) {
231
+ document.getElementById('zalo-frame').classList.remove('transparent-nav')
227
232
  document.getElementById('header').style.backgroundColor = navColor;
228
233
  document.getElementById('statusbar').style.backgroundColor = navColor;
229
234
  } else if (statusBarColor) {
235
+ document.getElementById('zalo-frame').classList.add('transparent-nav');
230
236
  document.getElementById('header').style.display = 'none';
231
237
  document.getElementById('statusbar').style.backgroundColor =
232
238
  statusBarColor;