全ページ数にはレイアウト調整犠牲になってもらう

* .page-linkと同様にline-heightを設定
* 高さ調整のためにheightを設定
This commit is contained in:
shibafu 2019-02-17 11:12:52 +09:00
parent 32139cb9da
commit 0f4dfcd816
2 changed files with 2 additions and 1 deletions

View File

@ -56,8 +56,10 @@
.tis-page-selector { .tis-page-selector {
margin-left: -1px; margin-left: -1px;
width: calc(100% + 2px); width: calc(100% + 2px);
height: 100%;
border: 1px solid #dee2e6; border: 1px solid #dee2e6;
border-radius: 0; border-radius: 0;
line-height: 1.25;
} }
@media (min-width: 992px) { @media (min-width: 992px) {

View File

@ -48,7 +48,6 @@
<option value="{{ $i }}" {{ $i === $paginator->currentPage() ? 'selected' : '' }} data-href="{{ $paginator->url($i) }}">{{ $i }}</option> <option value="{{ $i }}" {{ $i === $paginator->currentPage() ? 'selected' : '' }} data-href="{{ $paginator->url($i) }}">{{ $i }}</option>
@endfor @endfor
</select> </select>
<small class="text-muted">/ {{ $paginator->lastPage() }}</small>
</li> </li>
@if ($paginator->hasMorePages()) @if ($paginator->hasMorePages())