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

Callout card placement #137

Open
mrhoyle2 opened this issue Jan 6, 2025 · 1 comment
Open

Callout card placement #137

mrhoyle2 opened this issue Jan 6, 2025 · 1 comment

Comments

@mrhoyle2
Copy link
Collaborator

mrhoyle2 commented Jan 6, 2025

The callout cards are in line with the content and I'm not sure how to move them to the correct place on the side.

<SubSection title="Callout Cards" id="callout-cards">

@jcrayb
Copy link
Collaborator

jcrayb commented Jan 16, 2025

That page uses a special layout. I removed the callout card capabilities to increase horizontal space since they likely wouldnt have been used. I made the aptly named CalloutContainerContainer, use it in the following way:

<CalloutContainerContainer>
       Content here
        
        <CalloutContainer slot="cards">
            <CalloutCard title="Title">
                Callout stuff here
            </CalloutCard>
        </CalloutContainer>
</CalloutContainerContainer>

It will restore the original function.

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