From 009e487def81b227b2f4b72c8d8f5b3bd663b88c Mon Sep 17 00:00:00 2001 From: Misode Date: Sat, 7 Nov 2020 16:38:07 +0100 Subject: [PATCH] Minor style fixes to collapse buttons --- .vscode/tasks.json | 2 +- src/styles/nodes.css | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 00c6674e..84f95c85 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,7 +4,7 @@ { "label": "Start", "type": "shell", - "command": "rm -r \"./node_modules/@mcschema\" && npm link @mcschema/core && npm link @mcschema/locales && npm link @mcschema/java-1.16 && npm start" + "command": "rm -r \"./node_modules/@mcschema\" && npm link @mcschema/core && npm link @mcschema/locales && npm link @mcschema/java-1.16 && npm link @mcschema/java-1.17 && npm start" } ] } diff --git a/src/styles/nodes.css b/src/styles/nodes.css index 88c9c3dc..492f19b3 100644 --- a/src/styles/nodes.css +++ b/src/styles/nodes.css @@ -130,10 +130,6 @@ border-bottom-left-radius: 0; } -.node-header > .collapse.closed { - border-bottom-left-radius: 3px; -} - /* Buttons */ button.selected { @@ -141,11 +137,6 @@ button.selected { border-color: var(--node-selected-border); } -.collapse { - display: inline-flex; - align-items: center; -} - .collapse svg { fill: var(--node-text); transition: fill var(--style-transition); @@ -171,6 +162,7 @@ button.remove { transition: fill var(--style-transition); } +.node-header > button.collapse:last-child, .node-header > button.add:last-child { border-top-right-radius: 6px; border-bottom-right-radius: 6px;