diff --git a/ivette/Makefile b/ivette/Makefile index bde89ca5f3448b5e1f3f7531d55b2bbf62eda872..35d6c5d87446432f6e6d2f8a57a6c99cd7a5de16 100644 --- a/ivette/Makefile +++ b/ivette/Makefile @@ -24,6 +24,11 @@ lint: dome-pkg dome-templ @echo "[Ivette] running ts linter" yarn run lint +fixlint: dome-pkg dome-templ + @echo "[Ivette] running ts linter (with fix)" + yarn run lint --fix + + # -------------------------------------------------------------------------- # --- Ivette Documentation # -------------------------------------------------------------------------- diff --git a/ivette/src/renderer/ASTview.tsx b/ivette/src/renderer/ASTview.tsx index d9a3110a93eb40dcc5e4fea805d7f5ba9007d99d..0c1546dccef8680f77587e0cc40a040c17da7ac2 100644 --- a/ivette/src/renderer/ASTview.tsx +++ b/ivette/src/renderer/ASTview.tsx @@ -111,16 +111,29 @@ const ASTview = () => { return ( <> <TitleBar> - <IconButton icon="ZOOM.OUT" onClick={zoomOut} + <IconButton + icon="ZOOM.OUT" + onClick={zoomOut} disabled={!theFunction} - title="Zoom In (increase font size)" /> - <IconButton icon="ZOOM.IN" onClick={zoomIn} + title="Zoom In (increase font size)" + /> + <IconButton + icon="ZOOM.IN" + onClick={zoomIn} disabled={!theFunction} - title="Zoom Out (decrease font size)" /> - <IconButton icon="CODE" onClick={themePopup} - title="Choose Theme" /> - <IconButton icon="WRAPTEXT" selected={wrapText} onClick={setWrapText} - title="Wrap Text" /> + title="Zoom Out (decrease font size)" + /> + <IconButton + icon="CODE" + onClick={themePopup} + title="Choose Theme" + /> + <IconButton + icon="WRAPTEXT" + selected={wrapText} + onClick={setWrapText} + title="Wrap Text" + /> </TitleBar> <Text buffer={buffer} diff --git a/ivette/src/renderer/Controller.tsx b/ivette/src/renderer/Controller.tsx index 01a9643283244698d20c1108e237e6798cd72180..60387fdd6c8e15333575e7cf1855d879a70a1036 100644 --- a/ivette/src/renderer/Controller.tsx +++ b/ivette/src/renderer/Controller.tsx @@ -171,7 +171,8 @@ const RenderConsole = () => { <Label className="dimmed" display={command && length > 0} - title="Rank in History" > + title="Rank in History" + > {1 + index}/{length} </Label> <Space />