Skip to content

Commit

Permalink
Adapt truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Sep 27, 2020
1 parent d2e40ac commit 6de680e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pages/popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<template v-slot:activator="{ on, attrs }">
<strong v-bind="attrs" v-on="on">
<a tabindex="2" :href="props.item.url" :accesskey="props.index + 1" target="_blank"
@click="$event.stopPropagation()">{{ props.item.name | truncate(50, '') }}</a>
@click="$event.stopPropagation()">{{ props.item.name | truncate(40, '') }}</a>
</strong>
</template>
<span>
Expand All @@ -176,7 +176,7 @@
</span>
</v-tooltip>
</td>
<td v-if="props.item.name">{{ props.item.url | truncate(50, '') }}</td>
<td v-if="props.item.name">{{ props.item.url | truncate(40, '') }}</td>
<td v-if="props.item.name === ''" colspan="2" class="text-no-wrap">
<a tabindex="2" @click="$event.stopPropagation()" :accesskey="props.index + 1" :href="props.item.url"
target="_blank" :title="props.item.url">{{ props.item.url | truncate(80, '') }}</a>
Expand Down

0 comments on commit 6de680e

Please sign in to comment.