Skip to content

Commit 97ad924

Browse files
committed
UPDATE - Article heading padding to be equal on all sides
1 parent fc1a3e4 commit 97ad924

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
@@ -21,10 +21,10 @@
2121
<div class="container mx-auto">
2222
<div class="px-4 lg:px-0 lg:mx-48">
2323
<div
24-
class="w-full bg-center {{ $article->hasHeroImage() ? 'bg-cover' : '' }} bg-gray-800 px-6 py-8 lg:py-6"
24+
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 pt-6 mb-28 lg:flex">
27+
<div class="hidden items-center justify-between mb-28 lg:flex">
2828
<a href="{{ route('articles') }}" class="hidden items-center text-base text-white hover:underline lg:flex">
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>
@@ -59,7 +59,7 @@ class="w-full bg-center {{ $article->hasHeroImage() ? 'bg-cover' : '' }} bg-gray
5959
{{ $article->title() }}
6060
</h1>
6161

62-
<div class="flex flex-col gap-y-2 text-white pb-4 lg:pb-12 lg:flex-row lg:items-center">
62+
<div class="flex flex-col gap-y-2 text-white lg:flex-row lg:items-center">
6363
<div class="flex items-center">
6464
<x-avatar :user="$article->author()" class="w-6 h-6 rounded-full mr-3" />
6565

0 commit comments

Comments
 (0)