From e8effeb3aedc6e19a3bfcf655b27cfbfc00f47a3 Mon Sep 17 00:00:00 2001 From: Andreas Neustifter Date: Wed, 25 Jul 2018 22:12:30 +0200 Subject: [PATCH] [frio] Fix layout of profile aside. (#5497) (#5498) See issue (#5497)[https://github.com/friendica/friendica/issues/5497] for details. --- view/theme/frio/css/style.css | 10 +- view/theme/frio/templates/profile_vcard.tpl | 103 ++++++++++---------- view/theme/frio/templates/vcard-widget.tpl | 20 ++-- 3 files changed, 70 insertions(+), 63 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 0206c9d302..84964ec6c4 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1115,11 +1115,11 @@ aside .vcard #profile-photo-wrapper.crop-preview { padding: 0; } aside .vcard .profile-header { - margin-bottom: 20px; + padding: 5px 0px 5px 0px; } aside .vcard .fn { - font-size: 20px; font-weight: bold; + padding: 5px 0px 5px 0px; } aside .vcard .p-addr { font-style: italic; @@ -1139,9 +1139,10 @@ aside .xmpp { aside .vcard .icon { display: table-cell; padding-right: 10px; + width: 30px; } #profile-extra-links { - margin-bottom: 20px; + overflow: auto; } aside .vcard #dfrn-request-link-button, aside .vcard #wallmessage-link-botton { @@ -1514,6 +1515,9 @@ section #jotOpen { overflow: visible; word-wrap: break-word; } +aside .panel-body { + padding: 0px; +} /* Thread hover effects */ .wall-item-container .wall-item-content a, diff --git a/view/theme/frio/templates/profile_vcard.tpl b/view/theme/frio/templates/profile_vcard.tpl index 831c47171d..392adc1c48 100644 --- a/view/theme/frio/templates/profile_vcard.tpl +++ b/view/theme/frio/templates/profile_vcard.tpl @@ -1,25 +1,26 @@
- {{if $profile.picdate}} -
{{$profile.name}} - {{else}} -
{{$profile.name}} - {{/if}} -
+
+ {{if $profile.picdate}} + {{$profile.name}} + {{else}} + {{$profile.name}} + {{/if}} +
{{if $profile.edit}} -
- -
+
+ +
{{else}} {{if $profile.menu}} -
+
{{/if}} {{/if}} -
-
+
+ {{* The short information which will appended to the second navbar by scrollspy *}}