@textbus/platform-browser 5.4.6 → 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.esm.js CHANGED
@@ -2131,7 +2131,9 @@ var MagicInput = /*#__PURE__*/ function(Input) {
2131
2131
  }), fromEvent(textarea, 'focus').subscribe(function() {
2132
2132
  _this.nativeFocus = true;
2133
2133
  }), this.caret.onStyleChange.subscribe(function(style) {
2134
- Object.assign(textarea.style, style);
2134
+ Object.assign(textarea.style, {
2135
+ fontSize: style.fontSize
2136
+ });
2135
2137
  }));
2136
2138
  this.handleInput(textarea);
2137
2139
  this.handleShortcut(textarea);
@@ -2375,9 +2377,9 @@ var MagicInput = /*#__PURE__*/ function(Input) {
2375
2377
  border: 'none',
2376
2378
  width: '100%',
2377
2379
  display: 'block',
2378
- height: '100%',
2380
+ height: '16px',
2379
2381
  position: 'relative',
2380
- top: this.isWindows ? '3px' : '0'
2382
+ bottom: this.isWindows ? '3px' : '0'
2381
2383
  }
2382
2384
  });
2383
2385
  }