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