From 8a4a594dd0232a8aaf0f5a44ee158b8132a27376 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Thu, 2 May 2019 16:52:43 -0700 Subject: [PATCH] Change nesting to preserve playlist styling The `#playlist-window` div is a flex container so it needs to be the direct parent. --- .../__snapshots__/index.test.js.snap | 32 +++++++++---------- js/components/PlaylistWindow/index.tsx | 20 ++++++------ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/js/components/PlaylistWindow/__snapshots__/index.test.js.snap b/js/components/PlaylistWindow/__snapshots__/index.test.js.snap index d99b6064..4adf105d 100644 --- a/js/components/PlaylistWindow/__snapshots__/index.test.js.snap +++ b/js/components/PlaylistWindow/__snapshots__/index.test.js.snap @@ -2,32 +2,32 @@ exports[`PlaylistWindow renders to snapshot 1`] = `
{ const showSpacers = playlistSize[0] % 2 === 0; return ( - - + +
{showSpacers && ( @@ -170,8 +170,8 @@ class PlaylistWindow extends React.Component {
-
-
+ + ); } }