Only make note photos full width, not all
This commit is contained in:
parent
21697abe7a
commit
756b3847cf
6 changed files with 4 additions and 4 deletions
2
resources/assets/sass/layout.scss
vendored
2
resources/assets/sass/layout.scss
vendored
|
@ -125,7 +125,7 @@ nav {
|
|||
font-size: 1em;
|
||||
}
|
||||
|
||||
.note .u-photo {
|
||||
.note-photo {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
image-orientation: from-image;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue