Skip to content

Commit

Permalink
minor style adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaishiyoku committed Jan 16, 2021
1 parent b295faf commit 017d29e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions resources/css/app.css
Expand Up @@ -2,8 +2,4 @@

@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

.img-fluid {
max-height: 400px;
}
@import "tailwindcss/utilities";
4 changes: 2 additions & 2 deletions resources/views/welcome.blade.php
Expand Up @@ -17,8 +17,8 @@
<div>
<div class="text-xl pt-8 pb-2">Random Astolfo</div>

<a href="{{ env('CRAWLER_BASE_URL') }}/post/view/{{ $randomImage->external_id }}">
<img src="{{ url('/api/v1/images/' . $randomImage->external_id . '/data') }}" class="img-fluid border border-pink-400 rounded p-1 bg-white" alt="random Astolfo image"/>
<a href="{{ env('CRAWLER_BASE_URL') }}/post/view/{{ $randomImage->external_id }}" class="block">
<img src="{{ url('/api/v1/images/' . $randomImage->external_id . '/data') }}" class="rounded border-2 border-pink-200 opacity-50 p-2 hover:opacity-100 max-h-400 transition-all duration-300" alt="random Astolfo image"/>
</a>
</div>
</div>
Expand Down

0 comments on commit 017d29e

Please sign in to comment.