Browse Source

Remove some useless padding in the Subscriptions page

pull/1111/head
Timothée Jaussoin 3 years ago
parent
commit
7be6174225
  1. 7
      app/widgets/CommunitySubscriptions/_communitysubscriptions.tpl
  2. 2
      app/widgets/CommunitySubscriptions/communitysubscriptions.tpl
  3. 2
      app/widgets/ContactActions/_contactactions_drawer.tpl
  4. 2
      app/widgets/ContactData/_contactdata_card.tpl
  5. 12
      composer.lock

7
app/widgets/CommunitySubscriptions/_communitysubscriptions.tpl

@ -1,5 +1,5 @@
{if="$subscriptions->isEmpty()"}
<ul class="thick">
<ul class="thick fill">
<div class="placeholder">
<i class="material-icons">bookmark</i>
<h1>{$c->__('communitysubscriptions.empty_title')}</h1>
@ -7,7 +7,7 @@
</li>
</ul>
{else}
<ul class="list middle flex third active all">
<ul class="list middle flex third active all fill">
{loop="$subscriptions"}
{if="$c->checkNewServer($value)"}
<li class="subheader block large"
@ -40,9 +40,6 @@
{$value->node|firstLetterCapitalize}
</span>
{/if}
<span class="control icon gray">
<i class="material-icons">chevron_right</i>
</span>
<div>
<p class="line normal">
{if="$value->info && $value->info->name"}

2
app/widgets/CommunitySubscriptions/communitysubscriptions.tpl

@ -1 +1 @@
<div id="subscriptions" class="tabelem spin"></div>
<div id="subscriptions" class="tabelem spin padded_top_bottom"></div>

2
app/widgets/ContactActions/_contactactions_drawer.tpl

@ -80,7 +80,7 @@
{autoescape="off"}
{$contact->description|trim|nl2br|addEmojis}
{/autoescape}
<br />
<br /><br />
{/if}
{if="$roster && $roster->presence && $roster->presence->seen"}

2
app/widgets/ContactData/_contactdata_card.tpl

@ -30,7 +30,7 @@
{autoescape="off"}
{$contact->description|trim|nl2br|addEmojis}
{/autoescape}
<br />
<br /><br />
{/if}
{if="$roster && $roster->presence && $roster->presence->seen"}

12
composer.lock

@ -2425,16 +2425,16 @@
},
{
"name": "league/commonmark",
"version": "2.3.5",
"version": "2.3.6",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/commonmark.git",
"reference": "84d74485fdb7074f4f9dd6f02ab957b1de513257"
"reference": "857afc47ce113454bd629037213378ba3219dd40"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/84d74485fdb7074f4f9dd6f02ab957b1de513257",
"reference": "84d74485fdb7074f4f9dd6f02ab957b1de513257",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/857afc47ce113454bd629037213378ba3219dd40",
"reference": "857afc47ce113454bd629037213378ba3219dd40",
"shasum": ""
},
"require": {
@ -2454,7 +2454,7 @@
"erusev/parsedown": "^1.0",
"ext-json": "*",
"github/gfm": "0.29.0",
"michelf/php-markdown": "^1.4",
"michelf/php-markdown": "^1.4 || ^2.0",
"nyholm/psr7": "^1.5",
"phpstan/phpstan": "^1.8.2",
"phpunit/phpunit": "^9.5.21",
@ -2527,7 +2527,7 @@
"type": "tidelift"
}
],
"time": "2022-07-29T10:59:45+00:00"
"time": "2022-10-30T16:45:38+00:00"
},
{
"name": "league/config",

Loading…
Cancel
Save