diff --git a/.changeset/serious-jeans-tap.md b/.changeset/serious-jeans-tap.md new file mode 100644 index 00000000..3e8825bf --- /dev/null +++ b/.changeset/serious-jeans-tap.md @@ -0,0 +1,5 @@ +--- +'@xyflow/system': patch +--- + +Add separators to horizontal control buttons diff --git a/packages/system/src/styles/style.css b/packages/system/src/styles/style.css index cb6f2b7c..a6e5f9da 100644 --- a/packages/system/src/styles/style.css +++ b/packages/system/src/styles/style.css @@ -158,4 +158,17 @@ &-button:last-child { 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; + } }