aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-12 09:54:01 +0000
committerMario <mario@mariovavti.com>2021-03-15 09:43:18 +0100
commite2a289d6146736efd5d897bd58c14a02bd9d0649 (patch)
tree4b3f535ba765aeb839ebeb0fff6b9154db5fbefa
parent59d3483a06d452780358793f11e01aa29af9870b (diff)
downloadvolse-hubzilla-e2a289d6146736efd5d897bd58c14a02bd9d0649.tar.gz
volse-hubzilla-e2a289d6146736efd5d897bd58c14a02bd9d0649.tar.bz2
volse-hubzilla-e2a289d6146736efd5d897bd58c14a02bd9d0649.zip
truncate too long text
(cherry picked from commit 1582b8bc9620a661823c608c0c7023a70554214b)
-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 447839167..582df159e 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">