mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-15 21:03:47 +00:00
Fix terminal font selection (#1018)
This commit is contained in:
@@ -45,7 +45,7 @@ export function TerminalPreview({
|
|||||||
return (
|
return (
|
||||||
<div className="border border-input overflow-hidden">
|
<div className="border border-input overflow-hidden">
|
||||||
<div
|
<div
|
||||||
className="p-3 font-mono"
|
className="p-3"
|
||||||
style={{
|
style={{
|
||||||
fontSize: `${fontSize}px`,
|
fontSize: `${fontSize}px`,
|
||||||
fontFamily: fontFallback,
|
fontFamily: fontFallback,
|
||||||
|
|||||||
@@ -66,7 +66,6 @@ style.innerHTML = `
|
|||||||
}
|
}
|
||||||
|
|
||||||
.xterm .xterm-screen {
|
.xterm .xterm-screen {
|
||||||
font-family: 'Caskaydia Cove Nerd Font Mono', 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !important;
|
|
||||||
font-variant-ligatures: none;
|
font-variant-ligatures: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user