perf(Torrent): Wrap title

This commit is contained in:
Larsluph 2023-11-05 21:15:17 +01:00 committed by Daan Wijns
parent bec28c2d54
commit 55c2ef8115

View file

@ -65,7 +65,7 @@ const isTorrentSelected = computed(() => dashboardStore.isTorrentInSelection(pro
<template>
<v-card :class="`sideborder ${torrent.state} pointer`" :color="isTorrentSelected ? `torrent-${torrent.state}-darken-3` : undefined" width="100%" @click="onClick">
<v-card-title class="font-weight-bold">{{ torrent.name }}</v-card-title>
<v-card-title class="font-weight-bold text-wrap">{{ torrent.name }}</v-card-title>
<v-card-text>
<div class="d-flex gap flex-wrap">
<component :is="getComponent(ppt.type)" :torrent="torrent" v-bind="ppt.props" v-for="ppt in torrentProperties" />