Skip to content

Commit

Permalink
bugfix(react-dialog): ensures dialog surface style without surfaceMot…
Browse files Browse the repository at this point in the history
…ion (#33247)
  • Loading branch information
bsunderhus authored Nov 11, 2024
1 parent 1318c1a commit 0b6257a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "bugfix: ensures dialog surface style without surfaceMotion",
"packageName": "@fluentui/react-dialog",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const useRootBaseStyle = makeResetStyles({
boxSizing: 'border-box',
backgroundColor: tokens.colorNeutralBackground1,
color: tokens.colorNeutralForeground1,
// Same styles as DialogSurfaceMotion last keyframe,
// to ensure dialog will be properly styled when surfaceMotion is opted-out
boxShadow: tokens.shadow64,

[MEDIA_QUERY_BREAKPOINT_SELECTOR]: {
maxWidth: '100vw',
Expand Down

0 comments on commit 0b6257a

Please sign in to comment.