fix: terminal block character rendering by setting lineHeight to 1.0 and removing container padding
This commit is contained in:
@@ -214,6 +214,9 @@ export const TerminalComponent: React.FC<TerminalProps> = ({
|
|||||||
cursorBlink: true,
|
cursorBlink: true,
|
||||||
fontSize: currentFontSize,
|
fontSize: currentFontSize,
|
||||||
fontFamily: 'Menlo, Monaco, "Courier New", monospace',
|
fontFamily: 'Menlo, Monaco, "Courier New", monospace',
|
||||||
|
lineHeight: 1.0,
|
||||||
|
letterSpacing: 0,
|
||||||
|
allowTransparency: false,
|
||||||
theme: {
|
theme: {
|
||||||
background: "#1e1e1e",
|
background: "#1e1e1e",
|
||||||
foreground: "#d4d4d4",
|
foreground: "#d4d4d4",
|
||||||
|
|||||||
@@ -2633,7 +2633,7 @@ a.nav-item,
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: var(--space-2);
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user