diff --git a/src/renderer/screens/Editor/Keyboard104.js b/src/renderer/screens/Editor/Keyboard104.js index 0bdcb79a4..eaec0ea71 100644 --- a/src/renderer/screens/Editor/Keyboard104.js +++ b/src/renderer/screens/Editor/Keyboard104.js @@ -106,11 +106,13 @@ const KeySelector = (props) => { viewBox={"0 0 " + Math.round(23 * keycapunit).toString() + " " + Math.round(6.5 * keycapunit).toString()} xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin meet" - height="15rem" className={props.className} style={{ display: "block", fontWeight: 400, + maxHeight: "15rem", + maxWidth: "100%", + fontSize: Math.round(keycapunit / 4), }} > diff --git a/src/renderer/screens/Preferences/ui/LayoutEditorPreferences.js b/src/renderer/screens/Preferences/ui/LayoutEditorPreferences.js index 771f9ad0e..20b4b9682 100644 --- a/src/renderer/screens/Preferences/ui/LayoutEditorPreferences.js +++ b/src/renderer/screens/Preferences/ui/LayoutEditorPreferences.js @@ -104,12 +104,15 @@ function LayoutEditorPreferences(props) { null} layout={layout} /> - + {0 & + ( + + )} ); }