diff --git a/media/editor/hexEdit.css b/media/editor/hexEdit.css index c5412ad..4ec8476 100644 --- a/media/editor/hexEdit.css +++ b/media/editor/hexEdit.css @@ -8,6 +8,7 @@ :global(body) { margin: 0; padding: 0; + font-size: var(--vscode-editor-font-size); } :global(html) { diff --git a/media/editor/hexEdit.tsx b/media/editor/hexEdit.tsx index 5b79587..1f2f4e4 100644 --- a/media/editor/hexEdit.tsx +++ b/media/editor/hexEdit.tsx @@ -30,7 +30,7 @@ const Root: React.FC = () => { setDimensions({ width: window.innerWidth, height: window.innerHeight, - rowPxHeight: parseInt(theme["font-size"]) + 8, + rowPxHeight: parseInt(theme["editor-font-size"]) + 8, }); window.addEventListener("resize", applyDimensions);