Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

186
Vistas
text inside double brackets follow borders

text inside {{payment.lastappointment}} if its too long will go beyond the card borders is there any trick to make follow the card borders (text will array in lines when no more width to accommodate the whole text)??

enter image description here

<q-card-section>
    <div class="row  ">
    <div class="col-8 col-shrink "><div style= "min-width: 200px; width: 200px" class="text-container">Work Done: {{payment.lastappointment }}</div></div>
    <div class="col-4"></div>
</div>  <div class="text-caption text-right text-grey">{{paymentdateAdded(payment.paymentdate)}}</div>
      <div  v-if="$q.screen.gt.xs">

   <div><q-badge   color="green"  >Money Paid: {{formatPrice(payment.moneypaid)}} {{payment.currencypaid}}</q-badge></div>
   <div><q-badge  color="orange"  >Total To Pay: {{formatPrice(payment.moneyhavetopay)}} {{payment.currencyhavetopay}}</q-badge></div>
    </div>
     <div  v-else>
     <div><q-badge color="green"  >Paid: {{formatPrice(payment.moneypaid)}} {{payment.currencypaid}}</q-badge></div>
   <div><q-badge  color="orange"   >Total: {{formatPrice(payment.moneyhavetopay)}} {{payment.currencyhavetopay}}</q-badge></div>
  </div>
  </q-card-section>
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Just trying to understand the use case of inner div element <div style= "min-width: 200px; width: 200px" class="text-container">. We can remove this element as this is the only div element available under col-8. Which results in resolve the issue.

Demo :

body { padding: 20px; }
.container {
  padding-right: 15px;
  padding-left: 15px;
}
[class*="col-"] {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #eee;
  background-color: rgba(86,61,124,.15);
  border: 1px solid #ddd;
  border: 1px solid rgba(86,61,124,.2);
  font-size: 11px;
}
<div class="container">
  <div class="row">
    <div class="col-md-8">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
  </div>
</div>

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda