Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

top-title-two-cols layout default slot padding is different than in top-title #26

Open
ifigueroap opened this issue Mar 4, 2025 · 2 comments

Comments

@ifigueroap
Copy link

In the two columns layout, the content of the default slot has no padding/margin, in contrast to the top-title layout. In particular, it is missing the slidev-layout default classes.

After ejecting the theme I was able to fix this in the file top-title-two-cols-vue:

Before:

    <div v-if="$slots.default" class="h-fit w-full">
      <slot name="default" />
    </div>

After:

    <div v-if="$slots.default" class="slidev-layout default h-fit w-full">
      <slot name="default" />
    </div>
@gureckis
Copy link
Owner

gureckis commented Mar 8, 2025

great, please submit if PR if you are open to it otherwise i'll check on this sometime soon!

@ifigueroap
Copy link
Author

ifigueroap commented Mar 8, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants