perf: tweak torrent title

This commit is contained in:
Daan Wijns 2023-12-17 11:09:45 +01:00
parent 64c595eeac
commit 0e67cea318

View file

@ -60,7 +60,7 @@ const isTorrentSelected = computed(() => dashboardStore.isTorrentInSelection(pro
width="100%"
:color="isTorrentSelected ? `torrent-${torrent.state}-darken-3` : undefined"
@click="$emit('onTorrentClick', $event, torrent)">
<v-card-title class="text-wrap text-subtitle-1 pt-1 pb-0">{{ torrent.name }}</v-card-title>
<v-card-title class="text-wrap pt-1 pb-0 px-2 text-truncate" style="font-size: 0.97em;">{{ torrent.name }}</v-card-title>
<v-card-text class="pa-2 pt-0">
<div class="d-flex gap flex-wrap">
<component :is="getComponent(ppt.type)" :torrent="torrent" v-bind="ppt.props" v-for="ppt in torrentProperties" />