サイトからのお知らせを左カラムに追いやった

This commit is contained in:
shibafu 2019-02-09 00:17:12 +09:00
parent 7337f60491
commit eef0eac887
2 changed files with 12 additions and 6 deletions

View File

@ -37,3 +37,9 @@
.timeline-action-item { .timeline-action-item {
margin-left: 16px; margin-left: 16px;
} }
@media (min-width: 992px) {
.tis-sidebar-info {
font-size: small;
}
}

View File

@ -27,11 +27,9 @@
@endcomponent @endcomponent
</div> </div>
</div> </div>
</div>
<div class="col-lg-8">
<div class="card mb-4"> <div class="card mb-4">
<div class="card-header">サイトからのお知らせ</div> <div class="card-header">サイトからのお知らせ</div>
<div class="list-group list-group-flush"> <div class="list-group list-group-flush tis-sidebar-info">
@foreach($informations as $info) @foreach($informations as $info)
<a class="list-group-item" href="{{ route('info.show', ['id' => $info->id]) }}"> <a class="list-group-item" href="{{ route('info.show', ['id' => $info->id]) }}">
@if ($info->pinned) @if ($info->pinned)
@ -43,6 +41,8 @@
<a href="{{ route('info') }}" class="list-group-item text-right">お知らせ一覧 &raquo;</a> <a href="{{ route('info') }}" class="list-group-item text-right">お知らせ一覧 &raquo;</a>
</div> </div>
</div> </div>
</div>
<div class="col-lg-8">
@if (!empty($publicLinkedEjaculations)) @if (!empty($publicLinkedEjaculations))
<div class="card mb-4"> <div class="card mb-4">
<div class="card-header">お惣菜コーナー</div> <div class="card-header">お惣菜コーナー</div>