Minor style fixes to collapse buttons

This commit is contained in:
Misode
2020-11-07 16:38:07 +01:00
parent 082349f2b6
commit 009e487def
2 changed files with 2 additions and 10 deletions

2
.vscode/tasks.json vendored
View File

@@ -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"
}
]
}

View File

@@ -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;