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 = []