From 96ed7210d3badf835123cf0c0bcc082187b9557e Mon Sep 17 00:00:00 2001 From: mcbrewster <37322608+mcbrewster@users.noreply.github.com> Date: Mon, 9 Mar 2020 19:09:59 -0700 Subject: [PATCH] Fix history dialog overflow (#9471) * [IMPLY-1661] fix history dialog overflow * jest -u --- .../history-dialog.spec.tsx.snap | 158 +++++++++--------- .../dialogs/history-dialog/history-dialog.tsx | 10 +- 2 files changed, 87 insertions(+), 81 deletions(-) diff --git a/web-console/src/dialogs/history-dialog/__snapshots__/history-dialog.spec.tsx.snap b/web-console/src/dialogs/history-dialog/__snapshots__/history-dialog.spec.tsx.snap index dd3e2b64c5b..fc17aa50e81 100644 --- a/web-console/src/dialogs/history-dialog/__snapshots__/history-dialog.spec.tsx.snap +++ b/web-console/src/dialogs/history-dialog/__snapshots__/history-dialog.spec.tsx.snap @@ -16,121 +16,125 @@ exports[`history dialog matches snapshot 1`] = ` tabindex="0" >
- - History -
+ + History +
- - Change - - -
-
-

-

- -
-
+
+
+

+

+ +
+ class="bp3-collapse" + > +
+
-
-
- - Change - - -
-
-

-

- -
-
+
+
+

+

+ +
+ class="bp3-collapse" + > +
+
-
-
diff --git a/web-console/src/dialogs/history-dialog/history-dialog.tsx b/web-console/src/dialogs/history-dialog/history-dialog.tsx index 9c82a894e8e..7b894226898 100644 --- a/web-console/src/dialogs/history-dialog/history-dialog.tsx +++ b/web-console/src/dialogs/history-dialog/history-dialog.tsx @@ -65,10 +65,12 @@ export const HistoryDialog = React.memo(function HistoryDialog(props: HistoryDia } return ( - -
{content}
-
-
{buttons}
+ +
+
{content}
+
+
{buttons}
+
);