Using self-end on q-card-actions

  • I’m trying to create an horizontal list of cards like google’s play-store, it’s supposed to go inside a <div class="scroll"> container, but I don’t know how to handle a dynamic <q-card-title> height to keep <q-card-actions> always at the end (self-end)

    This is how it looks now (note: second card’s price should be at the very bottom):
    alt text


        <div class="row sm-gutter no-wrap">
          <div v-for="n in 10" :key="n" class="col-xs-5 col-sm-3 col-md-2">
            <q-card class="no-margin text-center full-height">
                <img src="" class="responsive" />
              <q-card-title class="no-padding text-left on-right">
                <small class="ellipsis-2-lines" v-if="n % 2 === 0">Papas y boñatos</small>
                <small class="ellipsis-2-lines" v-else>Papas y boñatos y verga</small>
                <q-btn flat slot="right" class="no-padding">
                  <q-icon name="more_vert" />
              <q-card-separator />
                $ 1.000
    export default {
      name: 'horizontal-card-list'
    <style scoped>
    .row {
      padding-bottom: 1rem;
      padding-top: 0.5rem;
      padding-left: 0.5rem;
      padding-right: 0.5rem
    .q-card-title {
      line-height: 1em;
      padding-top: 0.5em;
      padding-bottom: 0.5em

Log in to reply

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.