Mobile devices (xs) now go back to displaying one photo/album per-row following the recent fixes to portrait thumbnail generation

This commit is contained in:
Andy Heathershaw 2016-09-09 15:42:29 +01:00
parent 1b919549cc
commit d8859848f3
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
<div class="row"> <div class="row">
@foreach ($photos as $photo) @foreach ($photos as $photo)
<div class="col-xs-6 col-sm-4 photo"> <div class="col-xs-12 col-sm-4 photo">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-body" style="padding: 0;"> <div class="panel-body" style="padding: 0;">
<a href="{{ $photo->url() }}"><img src="{{ $photo->thumbnailUrl('preview') }}" alt="" class="img-responsive"/></a> <a href="{{ $photo->url() }}"><img src="{{ $photo->thumbnailUrl('preview') }}" alt="" class="img-responsive"/></a>

View File

@ -5,7 +5,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@foreach ($albums as $album) @foreach ($albums as $album)
<div class="col-xs-6 col-sm-4"> <div class="col-xs-12 col-sm-4">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><a href="{{ $album->url() }}">{{ $album->name }}</a></div> <div class="panel-heading"><a href="{{ $album->url() }}">{{ $album->name }}</a></div>
<div class="panel-body"> <div class="panel-body">