@evergis/react 3.1.70 → 3.1.71
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 +1 -4
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +1 -4
- package/dist/react.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6791,7 +6791,6 @@ const LogTerminal = ({ log }) => {
|
|
|
6791
6791
|
const fitAddonRef = React.useRef(null);
|
|
6792
6792
|
const previousLogRef = React.useRef("");
|
|
6793
6793
|
const theme = styled.useTheme();
|
|
6794
|
-
// Initialize terminal
|
|
6795
6794
|
React.useEffect(() => {
|
|
6796
6795
|
if (!terminalRef.current)
|
|
6797
6796
|
return;
|
|
@@ -6799,11 +6798,10 @@ const LogTerminal = ({ log }) => {
|
|
|
6799
6798
|
const terminal = new xterm.Terminal({
|
|
6800
6799
|
cursorBlink: false,
|
|
6801
6800
|
fontSize: 12,
|
|
6802
|
-
fontFamily: '"
|
|
6801
|
+
fontFamily: '"Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace',
|
|
6803
6802
|
scrollback: 10000,
|
|
6804
6803
|
convertEol: true,
|
|
6805
6804
|
lineHeight: 1.5,
|
|
6806
|
-
letterSpacing: 0,
|
|
6807
6805
|
theme: {
|
|
6808
6806
|
background: theme.palette.background,
|
|
6809
6807
|
foreground: theme.palette.textPrimary,
|
|
@@ -6869,7 +6867,6 @@ const LogTerminal = ({ log }) => {
|
|
|
6869
6867
|
// Scroll to bottom
|
|
6870
6868
|
xtermRef.current.scrollToBottom();
|
|
6871
6869
|
}, [log]);
|
|
6872
|
-
// Fit terminal on container resize
|
|
6873
6870
|
React.useEffect(() => {
|
|
6874
6871
|
if (!fitAddonRef.current)
|
|
6875
6872
|
return;
|