fix: Match Share popover surface backgrounds (#6675)

## What changed

The Share popover’s saved-link rows used the page background while the
popover title used the floating surface. The rows now inherit the
popover surface, and the Storybook example includes the actual Share
title used in the Builder.

## Plan and todos

1. [x] Remove the saved-link row background override so it inherits the
popover surface.
2. [x] Update the Share popover story to include the real title.
3. [x] Review the Share popover in light and dark themes.
4. [x] Run focused tests, Builder typecheck, lint, formatting, and diff
checks.
5. [x] Review product documentation; no documentation change is needed
for this visual fix.

## Verification

- Share project browser tests: 11 passed.
- Builder typecheck passed.
- Focused lint, formatting, and diff checks passed.
- Reviewed Storybook captures in light and dark mode.

The change removes one production CSS declaration.
This commit is contained in:
Oleg Isonen authored and GitHub committed 2026-11-11 20:58:11 +01:00
1 parent b0d7cc2e7b
commit ae5834867f
2 files changed
+2 -1

No files matched your search

@@ -3,6 +3,7 @@ import {
Flex,
Popover,
PopoverContent,
PopoverTitle,
PopoverTrigger,
StorySection,
} from "@webstudio-is/design-system";
@@ -121,6 +122,7 @@ const ShareProjectPopover = ({
isPending={false}
builderUrl={builderUrl}
/>
<PopoverTitle>Share</PopoverTitle>
</PopoverContent>
</Popover>
);
@@ -464,7 +464,6 @@ const itemStyle = css({
display: "flex",
alignItems: "center",
gap: theme.spacing[3],
backgroundColor: cssVar("--background-primary"),
});
export type LinkOptions = {