Skip to content

Commit

Permalink
SSR support fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MosheZemah committed Oct 6, 2024
2 parents 67dda49 + 197fc6f commit 797ab0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}

.typePopover {
box-shadow: var(--experimental-dialog-border-in-dark-themes, var(--box-shadow-medium));
box-shadow: var(--experimental-dialog-border-in-dark-themes, 0 0 0 0 transparent), var(--box-shadow-medium);
border-radius: var(--border-radius-medium);
background-color: var(--secondary-background-color);
}
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/components/Dropdown/Dropdown.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ const menu =
...getFont(),
color: getCSSVar("primary-text-color"),
backgroundColor: getCSSVar("dialog-background-color"),
boxShadow: getCSSVar("experimental-dropdown-border-in-dark-themes", getCSSVar("box-shadow-small"))
boxShadow: `${getCSSVar("experimental-dropdown-border-in-dark-themes", "0 0 0 0 transparent")}, ${getCSSVar(
"box-shadow-small"
)}`
};

if (!insideOverflowContainer && !insideOverflowWithTransformContainer) return baseStyle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ exports[`Dropdown renders correctly snapshot driver should open menu on click if
</div>
</div>
<div
class="dropdownMenuWrapper withoutAnimation css-1ysewv0-menu"
class="dropdownMenuWrapper withoutAnimation css-6yg65t-menu"
>
<div
class=" css-bknh9q-Component"
Expand Down

0 comments on commit 797ab0f

Please sign in to comment.