アイコンの横に名前が来るように修正

This commit is contained in:
eai04191 2019-01-16 07:00:12 +09:00
parent 2191a96cac
commit cffe539832

View File

@ -1,15 +1,19 @@
<div class="card mb-4"> <div class="card mb-4">
<div class="card-body"> <div class="card-body">
<img src="{{ $user->getProfileImageUrl(64) }}" class="rounded mb-1"> <div class="d-flex flex-row align-items-end">
<h4 class="card-title"> <img src="{{ $user->getProfileImageUrl(64) }}" class="rounded mr-2">
<a class="text-dark" href="{{ route('user.profile', ['name' => $user->name]) }}">{{ $user->display_name }}</a> <div class="d-flex flex-column overflow-hidden">
</h4> <h4 class="card-title text-truncate">
<h6 class="card-subtitle"> <a class="text-dark" href="{{ route('user.profile', ['name' => $user->name]) }}">{{ $user->display_name }}</a>
<a class="text-muted" href="{{ route('user.profile', ['name' => $user->name]) }}">&commat;{{ $user->name }}</a> </h4>
@if ($user->is_protected) <h6 class="card-subtitle">
<span class="oi oi-lock-locked text-muted"></span> <a class="text-muted" href="{{ route('user.profile', ['name' => $user->name]) }}">&commat;{{ $user->name }}</a>
@endif @if ($user->is_protected)
</h6> <span class="oi oi-lock-locked text-muted"></span>
@endif
</h6>
</div>
</div>
@if (!$user->is_protected) @if (!$user->is_protected)
<h6 class="font-weight-bold mt-4"><span class="oi oi-timer"></span> 現在のセッション</h6> <h6 class="font-weight-bold mt-4"><span class="oi oi-timer"></span> 現在のセッション</h6>