You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to add some margins or padding to the slides? In other words, can Flexbox margin or padding be applied to the slides themselves? Whenever I use margins or padding, I can only see them applied to the FullScreen and AnimatedProgress components. But, not to the Slides.
Background Info/Attempts
// SPECTACLE_CLI_TEMPLATE_START
const template = () => (
<FlexBox
alignContent="start"
justifyContent="space-between"
position="absolute"
bottom={10}
width={1}
top={5} //this only affects FullScreen and AnimatedProgress. The text in my slides is not changed.
>
<Box padding="10px 1em">
<FullScreen />
</Box>
<Box padding="1em">
<AnimatedProgress />
</Box>
</FlexBox>
);
function NewSlides() {
return (
<Deck theme={theme} template={template}>
<MarkdownSlideSet>{mdContent}</MarkdownSlideSet>
</Deck>
);
}
The text was updated successfully, but these errors were encountered:
Question
Is it possible to add some margins or padding to the slides? In other words, can Flexbox margin or padding be applied to the slides themselves? Whenever I use margins or padding, I can only see them applied to the FullScreen and AnimatedProgress components. But, not to the Slides.
Background Info/Attempts
The text was updated successfully, but these errors were encountered: