Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: Share split button active state (#6290)

Oleg Isonen7bec7c04882c
diff --git a/packages/design-system/src/components/split-button.tsx b/packages/design-system/src/components/split-button.tsx
index 2cf7013a02..bde0cbf938 100644
--- a/packages/design-system/src/components/split-button.tsx
+++ b/packages/design-system/src/components/split-button.tsx
@@ -14,6 +14,10 @@ export const SplitButton = styled("div", {
borderTopLeftRadius: 0,
borderBottomLeftRadius: 0,
},
+ "> button[aria-pressed=true] + button:not(:disabled):not([aria-disabled=true])::before":
+ {
+ background: cssVar("--overlay-interaction-hover"),
+ },
"&:hover:not(:has(> button:disabled:hover, > button[aria-disabled=true]:hover))":
{
"> button:first-of-type:not(:disabled):not([aria-disabled=true])": {