Skip to content

How to change Card size? #220

Answered by cogor
Caresle asked this question in Q&A
Oct 2, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey, you can apply !max-w-full class to the component.
P.S. I will refactor this component soon and there will be no need to use "!" to override a class

    <the-card href="#" class="!max-w-full">
      <h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Noteworthy technology acquisitions 2021</h5>
      <p class="font-normal text-gray-700 dark:text-gray-400">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>
    </the-card>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Caresle
Comment options

Answer selected by cogor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants