From e370f739956d68fa8dfc6949b18e062fb27bfaa5 Mon Sep 17 00:00:00 2001 From: jimmylee Date: Sun, 23 Aug 2020 16:53:16 -0700 Subject: [PATCH] slate-preview: make it full screen --- components/system/components/GlobalCarousel.js | 1 - scenes/SceneSlate.js | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/system/components/GlobalCarousel.js b/components/system/components/GlobalCarousel.js index ba7efcb3..f076a60c 100644 --- a/components/system/components/GlobalCarousel.js +++ b/components/system/components/GlobalCarousel.js @@ -24,7 +24,6 @@ const STYLES_ROOT = css` const STYLES_ROOT_CONTENT = css` position: relative; - padding: 88px 24px 88px 24px; width: 100%; height: 100%; display: flex; diff --git a/scenes/SceneSlate.js b/scenes/SceneSlate.js index 4b825131..bca2eaf6 100644 --- a/scenes/SceneSlate.js +++ b/scenes/SceneSlate.js @@ -171,6 +171,8 @@ export default class SceneSlate extends React.Component { return o.id !== id; }); + // NOTE(jim): Every time we remove an object from a slate. + // We will want to remove the object from the layouts too. const keys = Object.keys(this.state.layouts); let layouts = this.state.layouts; for (let j = 0; j < keys.length; j++) {