Browse files

add flex-wrap to make pagination more responsive

Since bootstrap4 doesn't support responsive pagination, detailed discussion can be found here twbs/bootstrap#23504

 so a long pagination would make page width bigger than the screen width
  • Loading branch information...
xcaptain committed Sep 7, 2017
1 parent 779a98d commit b3f587427bee4133c2c0b91bc4968feff3714fc9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Illuminate/Pagination/resources/views/bootstrap-4.blade.php
@@ -1,5 +1,5 @@
@if ($paginator->hasPages())
<ul class="pagination">
<ul class="pagination flex-wrap">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled"><span class="page-link">&laquo;</span></li>

0 comments on commit b3f5874

Please sign in to comment.