Fix rounded corners before node icons

This commit is contained in:
Misode
2020-12-05 17:37:12 +01:00
parent 19265feb0c
commit 5806d26f42
2 changed files with 13 additions and 14 deletions

View File

@@ -102,19 +102,18 @@
/** Rounded corners */
.node-header > *:first-child {
.node-header > .node-icon {
order: 1;
}
.node-header > *:first-child,
.node-header > .node-icon + * {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.node-header > *:last-child,
.node-header > input[list]:nth-last-child(2),
.node[data-help] > .node-header > *:nth-last-child(2),
.node[data-help] > .node-header > input[list]:nth-last-child(3),
.node[data-error] > .node-header > *:nth-last-child(2),
.node[data-error] > .node-header > input[list]:nth-last-child(3),
.node[data-help][data-error] > .node-header > *:nth-last-child(3),
.node[data-help][data-error] > .node-header > input[list]:nth-last-child(4) {
.node-header > input[list]:nth-last-child(2) {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}