Only make note photos full width, not all

This commit is contained in:
Jonny Barnes 2016-10-21 16:05:04 +01:00
parent 21697abe7a
commit 756b3847cf
6 changed files with 4 additions and 4 deletions

View file

@ -125,7 +125,7 @@ nav {
font-size: 1em;
}
.note .u-photo {
.note-photo {
width: 100%;
height: auto;
image-orientation: from-image;

View file

@ -10,7 +10,7 @@
{!! $note->note !!}
@if(count($note->photoURLs) > 0)
@foreach($note->photoURLs as $photoURL)
<img src="{{ $photoURL }}" alt="" class="u-photo">
<img src="{{ $photoURL }}" alt="" class="note-photo u-photo">
@endforeach
@endif
</div>