aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-11-23 09:17:04 +0000
committerMario <mario@mariovavti.com>2021-11-23 09:17:04 +0000
commit06e214e5675769318a40abc9850bf8d5c85a7ee3 (patch)
treea24462b427835e55fb2f167c69fa1fc0991bb92b /view/tpl
parent18f8cafee0cc127e97d40aa70e45fd08d91c2dfe (diff)
downloadvolse-hubzilla-06e214e5675769318a40abc9850bf8d5c85a7ee3.tar.gz
volse-hubzilla-06e214e5675769318a40abc9850bf8d5c85a7ee3.tar.bz2
volse-hubzilla-06e214e5675769318a40abc9850bf8d5c85a7ee3.zip
more work on responsive aside
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/connstatus.tpl2
-rw-r--r--view/tpl/profile_vcard.tpl16
-rw-r--r--view/tpl/xchan_vcard.tpl4
3 files changed, 13 insertions, 9 deletions
diff --git a/view/tpl/connstatus.tpl b/view/tpl/connstatus.tpl
index 667775f3a..869345682 100644
--- a/view/tpl/connstatus.tpl
+++ b/view/tpl/connstatus.tpl
@@ -1 +1 @@
-<i class="fa fa-fw fa-comments oneway-overlay text-{{if $perminfo.connpermcount == 3}}success{{elseif $perminfo.connpermcount > 0}}warning{{else}}danger{{/if}}" title="{{$perminfo.connperms}}"></i>
+<i class="fa fa-comments oneway-overlay text-{{if $perminfo.connpermcount == 3}}success{{elseif $perminfo.connpermcount > 0}}warning{{else}}danger{{/if}}" title="{{$perminfo.connperms}}"></i>
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index 983c79fab..487fa3959 100644
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -1,11 +1,13 @@
{{if !$zcard}}
-<div class="card h-card vcard-card">
+
+<div class="rounded mb-3 vcard-card h-card">
+<div class="card">
<div class="row">
- <div class="col-4">
+ <div class="col-4" style="width: 7rem;">
{{if $editmenu}}
<a href="profile_photo" title="{{$change_photo}}">
{{/if}}
- <img class="u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}" width="80px" height="80px">
+ <img class="rounded-start u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}" style="width: 6rem; height:6rem;">
{{if $editmenu}}
{{/if}}
</a>
@@ -44,9 +46,9 @@
</div>
</div>
</div>
-<div class="vcard h-card rounded-bottom">
+<div class="vcard ps-2 pe-2">
{{if $profile.pdesc}}
- <div class="pt-2 pb-3">{{$profile.pdesc}}</div>
+ <div class="pb-3 pt-2">{{$profile.pdesc}}</div>
{{/if}}
{{if $location}}
<dl class="">
@@ -77,7 +79,7 @@
</dl>
{{/if}}
{{if $homepage}}
- <dl class="">
+ <dl class="pb-2">
<dt class="homepage-label">{{$homepage}}</dt>
<dd class="homepage-url u-url">{{$profile.homepage}}</dd>
</dl>
@@ -85,6 +87,8 @@
<div class="hcard-addon"></div>
</div>
+</div>
+
{{/if}}
{{if $zcard}}
diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl
index 2b5a6cb41..a5568f283 100644
--- a/view/tpl/xchan_vcard.tpl
+++ b/view/tpl/xchan_vcard.tpl
@@ -1,8 +1,8 @@
<div class="card mb-3 h-card">
<div class="row">
- <div class="col-4">
+ <div class="col-4" style="width: 7rem;">
<a href="{{$link}}" >
- <img class="u-photo rounded-start" src="{{$photo}}" alt="{{$name}}" width="80px" height="80px">
+ <img class="u-photo rounded-start" src="{{$photo}}" alt="{{$name}}" style="width: 6rem; height:6rem;">
</a>
</div>
<div class="col-7 m-1 p-0">