@textbus/platform-browser 5.4.7 → 5.4.8

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/dist/index.js CHANGED
@@ -2135,7 +2135,9 @@ exports.MagicInput = /*#__PURE__*/ function(Input) {
2135
2135
  }), stream.fromEvent(textarea, 'focus').subscribe(function() {
2136
2136
  _this.nativeFocus = true;
2137
2137
  }), this.caret.onStyleChange.subscribe(function(style) {
2138
- Object.assign(textarea.style, style);
2138
+ Object.assign(textarea.style, {
2139
+ fontSize: style.fontSize
2140
+ });
2139
2141
  }));
2140
2142
  this.handleInput(textarea);
2141
2143
  this.handleShortcut(textarea);
@@ -2379,9 +2381,9 @@ exports.MagicInput = /*#__PURE__*/ function(Input) {
2379
2381
  border: 'none',
2380
2382
  width: '100%',
2381
2383
  display: 'block',
2382
- height: '100%',
2384
+ height: '16px',
2383
2385
  position: 'relative',
2384
- top: this.isWindows ? '3px' : '0'
2386
+ bottom: this.isWindows ? '3px' : '0'
2385
2387
  }
2386
2388
  });
2387
2389
  }