aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-12 09:54:01 +0000
committerMario <mario@mariovavti.com>2021-03-12 09:54:01 +0000
commit1582b8bc9620a661823c608c0c7023a70554214b (patch)
treee187d6f4fefe96e477adda07eab1073b7cee7d47 /view
parent432e7e9714a98d9438a135451fa09c9486cb160f (diff)
downloadvolse-hubzilla-1582b8bc9620a661823c608c0c7023a70554214b.tar.gz
volse-hubzilla-1582b8bc9620a661823c608c0c7023a70554214b.tar.bz2
volse-hubzilla-1582b8bc9620a661823c608c0c7023a70554214b.zip
truncate too long text
Diffstat (limited to 'view')
-rw-r--r--view/tpl/xchan_vcard.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl
index fbfb7f0ca..7deae0f99 100644
--- a/view/tpl/xchan_vcard.tpl
+++ b/view/tpl/xchan_vcard.tpl
@@ -5,12 +5,12 @@
<img class="u-photo" src="{{$photo}}" alt="{{$name}}" width="80px" height="80px">
</a>
</div>
- <div class="col m-1">
+ <div class="col-7 m-1">
<div class="row">
- <strong class="fn p-name">{{$name}}</strong>
+ <strong class="fn p-name text-truncate">{{$name}}</strong>
</div>
<div class="row">
- <small class="text-muted p-adr">{{$addr}}</small>
+ <small class="text-muted p-adr text-truncate">{{$addr}}</small>
</div>
{{if $connect}}
<div class="row mt-2">