From ffb4b6e19f1b89b739f3276287402613b5deeb7b Mon Sep 17 00:00:00 2001 From: Brent Jackson Date: Sun, 7 Jul 2019 12:50:09 -0400 Subject: [PATCH] Undo changes --- packages/components/src/AspectRatioSlide.js | 2 -- packages/components/src/Provider.js | 2 +- packages/components/src/splitSlides.js | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/components/src/AspectRatioSlide.js b/packages/components/src/AspectRatioSlide.js index 520ee95..a5378e3 100644 --- a/packages/components/src/AspectRatioSlide.js +++ b/packages/components/src/AspectRatioSlide.js @@ -13,8 +13,6 @@ const paddingBottom = props => ({ const Outer = styled('div')( { width: '100%', - maxWidth: '100%', - minWidth: 0, height: 0, margin: 'auto', position: 'relative', diff --git a/packages/components/src/Provider.js b/packages/components/src/Provider.js index 00372fb..7b4d996 100644 --- a/packages/components/src/Provider.js +++ b/packages/components/src/Provider.js @@ -7,7 +7,7 @@ import mdxComponents from './mdx-components' const DefaultProvider = props => <>{props.children} export const Provider = props => { - const { headTags, theme = {}, mdx } = props + const { headTags, theme, mdx } = props const { Provider: UserProvider = DefaultProvider, components: themeComponents = {}, diff --git a/packages/components/src/splitSlides.js b/packages/components/src/splitSlides.js index 285abee..3d80e41 100644 --- a/packages/components/src/splitSlides.js +++ b/packages/components/src/splitSlides.js @@ -1,7 +1,6 @@ import React from 'react' export const splitSlides = props => { - console.log('splitSlides', props) const { theme, themes } = props const arr = React.Children.toArray(props.children) const splits = []