Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

456
Views
Vuetify: coloque el título/subtítulo al lado del icono en una tarjeta

ingrese la descripción de la imagen aquí

Tengo un componente de tarjeta, y estoy tratando de colocar mi título, subtítulo a la derecha de mi ícono. De alguna manera siguió bajando a la siguiente línea. Soy nuevo en Vuetify.

 <template> <v-container fluid class="my-5"> <v-row> <v-flex col-xs-12> <v-card elevation="2" class="pa-5"> <v-flex xs3> <v-btn text color="black"> <v-icon left large class="mr-5">{{ icon }}</v-icon> </v-btn> </v-flex> <v-flex xs9> <v-card-title> {{ title }} </v-card-title> <v-card-subtitle> {{ subtitle }} </v-card-subtitle> </v-flex> </v-card> </v-flex> </v-row> </v-container> </template> <script> export default { name: 'MainPanel', props: { icon: String, title: String, subtitle: String } } </script> <style></style>

Por favor, hágame saber cómo puedo lograr eso.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Aplique la clase d-flex a la v-card , que establece display:flex en el elemento, haciendo que su contenido esté alineado horizontalmente:

 <v-card elevation="2" class="pa-5 d-flex"> 👆

demostración 1

Alternativamente, envuelva el contenido de v-card en v-row (y reemplace el obsoleto v-flex con v-col ):

 <v-card> <v-row> <v-col>...</v-col> <v-col>...</v-col> </v-row> </v-card>

demostración 2

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!