Merge pull request #5153 from nick-lawrence-ctm/main
When horizontal, remove the border from all control buttons
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'@xyflow/system': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add separators to horizontal control buttons
|
||||||
@@ -158,4 +158,17 @@
|
|||||||
&-button:last-child {
|
&-button:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.horizontal &-button {
|
||||||
|
border-bottom: none;
|
||||||
|
border-right: 1px solid
|
||||||
|
var(
|
||||||
|
--xy-controls-button-border-color-props,
|
||||||
|
var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.horizontal &-button:last-child {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user