From 7170debf0bf7cf36358294baa91bdd9598f9d19b Mon Sep 17 00:00:00 2001 From: Scott Weber Date: Thu, 5 Mar 2020 14:21:13 -0500 Subject: [PATCH] [WNMGDS-385] - Update dialog to focus on window (#639) * update dialog * update snapshot * Add extra div for `dialog-content` * Update snapshot Co-authored-by: Bernard --- .../core/src/components/Dialog/Dialog.jsx | 9 +++- .../Dialog/__snapshots__/Dialog.test.jsx.snap | 44 ++++++++++++++----- 2 files changed, 40 insertions(+), 13 deletions(-) diff --git a/packages/core/src/components/Dialog/Dialog.jsx b/packages/core/src/components/Dialog/Dialog.jsx index 5381fe381c..a8a14ff43a 100644 --- a/packages/core/src/components/Dialog/Dialog.jsx +++ b/packages/core/src/components/Dialog/Dialog.jsx @@ -44,10 +44,11 @@ export const Dialog = function(props) { return ( @@ -69,7 +70,11 @@ export const Dialog = function(props) { {closeText} -
{children}
+
+
+ {children} +
+
{actions && (