diff --git a/tinygrad/viz/eslint.config.mjs b/tinygrad/viz/eslint.config.mjs deleted file mode 100644 index d95bcaf69177..000000000000 --- a/tinygrad/viz/eslint.config.mjs +++ /dev/null @@ -1,9 +0,0 @@ -import globals from "globals"; -import pluginJs from "@eslint/js"; -import pluginHtml from "eslint-plugin-html"; - -export default [ - {files: ["**/*.html"], plugins: {html: pluginHtml}, rules: {"max-len": ["error", {"code": 150}]}}, - {languageOptions: {globals: globals.browser}}, - pluginJs.configs.recommended, -]; diff --git a/tinygrad/viz/index.html b/tinygrad/viz/index.html index 52c608815522..c6de5ebfefbf 100644 --- a/tinygrad/viz/index.html +++ b/tinygrad/viz/index.html @@ -58,7 +58,7 @@ } .node rect { stroke: #4a4b57; - stroke-width: 1.5px; + stroke-width: 1.4px; rx: 8px; ry: 8px; } @@ -81,6 +81,9 @@ width: 100%; height: 100%; } + .main-container > * + * { + margin-left: 8px; + } .container { background-color: #0f1018; height: 100%; @@ -88,22 +91,13 @@ padding: 8px; position: relative; } - .container > * + * { + .container > * + *, .rewrite-container > * + * { margin-top: 12px; } - .rewrite-container > * + * { - margin-top: 12px; - } - .main-container > * + * { - margin-left: 8px; - } .kernel-list { width: 10%; overflow-y: auto; } - .kernel-list > ul > ul { - padding-left: 4px; - } .kernel-list > ul > * + * { margin-top: 4px; } @@ -153,7 +147,8 @@