Changing column size for responsiveness

This commit is contained in:
Nilesh Deepak 2017-07-04 15:04:57 +05:30
parent af72f0d490
commit fdf139edb2
2 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,4 @@
<div class="galleryContainer" data-entity-type="book" data-entity-id="{{$book->id}}"> <div class="col-md-3 galleryItem" data-entity-type="book" data-entity-id="{{$book->id}}">
<div class="col-sm-3 galleryItem">
<h3> <h3>
<a class="text-book entity-list-item-link" href="{{$book->getUrl()}}"><i class="zmdi zmdi-book"></i><span class="entity-list-item-name">{{$book->name}}</span> <a class="text-book entity-list-item-link" href="{{$book->getUrl()}}"><i class="zmdi zmdi-book"></i><span class="entity-list-item-name">{{$book->name}}</span>
<br> <br>
@ -11,5 +10,4 @@
@else @else
<p class="text-muted">{{ $book->getExcerpt() }}</p> <p class="text-muted">{{ $book->getExcerpt() }}</p>
@endif @endif
</div>
</div> </div>

View File

@ -5,13 +5,13 @@
<div class="faded-small toolbar"> <div class="faded-small toolbar">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-xs-11 faded"> <div class="col-xs-12 faded">
<div class="action-buttons text-left"> <div class="action-buttons text-left">
<a data-action="expand-thumbnail" class="text-primary text-button"><i class="zmdi zmdi-wrap-text"></i>{{ trans('common.toggle_thumbnails') }}</a>
@if($currentUser->can('book-create-all')) @if($currentUser->can('book-create-all'))
<a href="{{ baseUrl("/books/create") }}" class="text-pos text-button"><i class="zmdi zmdi-plus"></i>{{ trans('entities.books_create') }}</a> <a href="{{ baseUrl("/books/create") }}" class="text-pos text-button"><i class="zmdi zmdi-plus"></i>{{ trans('entities.books_create') }}</a>
@endif @endif
<a data-action="expand-thumbnail" class="text-primary text-button"><i class="zmdi zmdi-wrap-text"></i>{{ trans('common.toggle_thumbnails') }}</a> </div>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -20,7 +20,7 @@
<div class="container" ng-non-bindable> <div class="container" ng-non-bindable>
<div class="row"> <div class="row">
<div class="col-sm-9"> <div class="col-xs-12 col-sm-12 col-md-9">
<h1>{{ trans('entities.books') }}</h1> <h1>{{ trans('entities.books') }}</h1>
{!! $books->render() !!} {!! $books->render() !!}
@if(count($books) > 0) @if(count($books) > 0)
@ -40,7 +40,7 @@
@endif @endif
@endif @endif
</div> </div>
<div class="col-sm-3"> <div class="col-xs-12 col-sm-12 col-md-3">
<div id="recents"> <div id="recents">
@if($recents) @if($recents)
<div class="margin-top">&nbsp;</div> <div class="margin-top">&nbsp;</div>