Skip to content

Commit e2dad71

Browse files
committed
UPDATE - Show and published info in mobile view
1 parent 97ad924 commit e2dad71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/views/articles/show.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
class="w-full bg-center {{ $article->hasHeroImage() ? 'bg-cover' : '' }} bg-gray-800 p-6 lg:p-8"
2525
style="background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url({{ $article->heroImage(2000,384) }});"
2626
>
27-
<div class="hidden items-center justify-between mb-28 lg:flex">
28-
<a href="{{ route('articles') }}" class="hidden items-center text-base text-white hover:underline lg:flex">
27+
<div class="flex items-center justify-between mb-28 text-sm lg:text-base">
28+
<a href="{{ route('articles') }}" class="flex items-center text-white hover:underline">
2929
<x-heroicon-s-arrow-left class="w-4 h-4 fill-current" />
3030
<span class="text-white ml-1 hover:text-gray-100">Back to articles</span>
3131
</a>
3232

33-
<div class="hidden lg:flex">
33+
<div>
3434
@if ($article->isNotPublished())
3535
<x-light-tag>
3636
@if ($article->isAwaitingApproval())

0 commit comments

Comments
 (0)