larger gap under bio

pull/26/head
Ondřej Hruška 6 years ago
parent 59e6649a1d
commit fa9325577f
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 6
      resources/views/profile/view.blade.php

@ -31,14 +31,14 @@
<div class="card-body">
@if($user->bio)
@if(mb_strlen($user->bio) > 250)
<p id="bio-short mb-1" aria-hidden=true>
<p id="bio-short mb-2" aria-hidden=true>
@sr(About me:)
{{mb_substr($user->bio, 0, 250)}}…
<a class="text-muted small" @tooltip(Show more) href="#" onclick="$('#bio-short').addClass('hidden'); $('#bio-full').removeClass('hidden'); return false;">
[more]
</a>
</p>
<p id="bio-full" class="hidden mb-1">
<p id="bio-full" class="hidden mb-2">
@sr(About me:)
{{ $user->bio }}
<a class="text-muted small" @tooltip(Collapse) href="#" onclick="$('#bio-full').addClass('hidden'); $('#bio-short').removeClass('hidden'); return false;">
@ -46,7 +46,7 @@
</a>
</p>
@else
<p class="mb-1">
<p class="mb-2">
@sr(About me:)
{{ $user->bio }}
</p>

Loading…
Cancel
Save