@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.esm.js +5 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
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,
|
|
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: '
|
|
2384
|
+
height: '16px',
|
|
2383
2385
|
position: 'relative',
|
|
2384
|
-
|
|
2386
|
+
bottom: this.isWindows ? '3px' : '0'
|
|
2385
2387
|
}
|
|
2386
2388
|
});
|
|
2387
2389
|
}
|