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

182
Views
Vuetify - image in v-data-table cell - only part of image is visible

In a table of users I want to show avatar in a second column. The problem is that rows are too small so the image is not shown whole.

enter image description here

Table:

<v-data-table :headers="tableHeaders" :items="streamers">
  <template v-slot:item.avatar="{ }">
    <v-img :max-height="100" aspect-ratio="1" :src="'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRubQH1F3DZWpm3WYs5SKpQBSH_ocCYenGjkA&usqp=CAU'"/>
  </template>
</v-data-table>

How to make that the whole image is visible?

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

0

Add contain prop to v-img. Reference to Vuetify docs.

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!