diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-02 00:21:55 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-02 00:21:55 +0000 |
| commit | 9cbf8aa8a1ab3627e52f6f93a2292bfab099db43 (patch) | |
| tree | fb65d4977d1db4070174c95916426990ffc5d632 /source/_partials | |
| parent | 615b4ff16c8178c8c48b0a792c4f4691502e39e4 (diff) | |
CSS enhancements
Diffstat (limited to 'source/_partials')
| -rw-r--r-- | source/_partials/postStub.blade.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/_partials/postStub.blade.php b/source/_partials/postStub.blade.php index 84976cf..be77ef3 100644 --- a/source/_partials/postStub.blade.php +++ b/source/_partials/postStub.blade.php @@ -1,14 +1,14 @@ <?php use \Illuminate\Support\Str; ?> -<li class="md:flex md:flex-row md:justify-between hover:bg-gray-800 p-4 pb-8"> +<li class="sm:flex sm:flex-row sm:justify-between hover:bg-gray-800 p-4 pb-8"> <a class="text-green-300" title="Go to post" href="{{ $post->getUrl() }}"> <h4 class="text-3xl font-bold">{{$post->title }}</h4> <p class="text-2xl text-gray-300">{{ $post->description }}</p> </a> - <div class="mt-8 md:mt-0 text-right flex flex-row md:flex-col"> - <time class="inline-block p-2 text-gray-200 order-2 md:order-1 ml-2" datetime="{{ $post->getDate()->format('Y-m-d') }}"> + <div class="mt-8 sm:mt-0 text-right flex flex-row sm:flex-col"> + <time class="inline-block p-2 text-gray-200 order-2 sm:order-1 ml-2" datetime="{{ $post->getDate()->format('Y-m-d') }}"> {{ $post->getDate()->format('M d, Y') }} </time> - <div class="order-1 md:order-2"> + <div class="order-1 sm:order-2"> @foreach ($post->categories as $category) <a class="inline-block rounded py-2 px-4 text-gray-200 {{Str::slug($category) }}" href="/categories/{{ Str::slug($category) }}">{{ $category }}</a> @endforeach |
