No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    QCard with media content does not accommodate the text lenght

    Framework
    2
    3
    132
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      adi_dragomir last edited by

      Hi,
      I tried to reroduce the QCard with media content example with a longer text:

      <q-card class=“my-card”>
      <q-img src=“https://cdn.quasar.dev/img/parallax2.jpg”>
      <div class=“absolute-top text-center”>
      <div>First column</div>
      <div>Second column</div>
      <div>Third column</div>
      <div>2First column</div>
      <div>Second column</div>
      <div>Third column</div>
      <div>3First column</div>
      <div>Second column</div>
      <div>Third column</div>
      <div>4First column</div>
      <div>Second column</div>
      <div>Third column</div>
      <div>5First column</div>
      <div>Second column</div>
      <div>Third column</div>
      </div>
      </q-img>
      </q-card>

      Unfortunately not all the text is displayed and I do not know what to do to fix it.

      Thank you for your help.

      Adrian

      I 1 Reply Last reply Reply Quote 0
      • I
        Ilia @adi_dragomir last edited by

        @adi_dragomir You can try to omit q-img in that case:

        <q-card style="background:url('https://cdn.quasar.dev/img/parallax2.jpg')">
              <div class="text-center">
                <div>First column</div>
                <div>Second column</div>
                <div>Third column</div>
                <div>2First column</div>
                <div>Second column</div>
                <div>Third column</div>
                <div>3First column</div>
                <div>Second column</div>
                <div>Third column</div>
                <div>4First column</div>
                <div>Second column</div>
                <div>Third column</div>
                <div>5First column</div>
                <div>Second column</div>
                <div>Third colum</div>
              </div>
          </q-card>
        
        1 Reply Last reply Reply Quote 0
        • A
          adi_dragomir last edited by

          Thank you very much, that was the solution !

          1 Reply Last reply Reply Quote 0
          • First post
            Last post