mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 06:48:49 +08:00
Resolved responsiveness issues
This commit is contained in:
parent
6ad24a6bee
commit
f51db4b9f6
|
@ -275,11 +275,8 @@ $btt-size: 40px;
|
|||
}
|
||||
|
||||
.galleryItem {
|
||||
width: 22%;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
margin-bottom: 32px;
|
||||
height: 330px;
|
||||
margin: 2% 1% 2% 1%;
|
||||
overflow: hidden;
|
||||
border: 1px solid #9e9e9e;
|
||||
h3 {
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
<div class="col-md-3 galleryItem" data-entity-type="book" data-entity-id="{{$book->id}}">
|
||||
<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>
|
||||
<br>
|
||||
<img @if($book->image === NULL) src="{{baseUrl('/default.jpg')}}" @else src="{{$book->image}}" @endif alt="{{$book->name}}">
|
||||
</a>
|
||||
</h3>
|
||||
@if(isset($book->searchSnippet))
|
||||
<p class="text-muted">{!! $book->searchSnippet !!}</p>
|
||||
@else
|
||||
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3" data-entity-type="book" data-entity-id="{{$book->id}}">
|
||||
<div class="galleryItem">
|
||||
<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>
|
||||
<br>
|
||||
<img @if($book->image === NULL) src="{{baseUrl('/default.jpg')}}" @else src="{{$book->image}}" @endif alt="{{$book->name}}">
|
||||
</a>
|
||||
</h3>
|
||||
@if(isset($book->searchSnippet))
|
||||
<p class="text-muted">{!! $book->searchSnippet !!}</p>
|
||||
@else
|
||||
<p class="text-muted">{{ $book->getExcerpt() }}</p>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user