fix: Add padding for an empty state (#6190)

This commit is contained in:
Shivam Mishra 2023-01-07 03:14:30 +05:30 committed by GitHub
parent fbdc921ee5
commit 50894fd591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@
<section class="bg-white max-w-5xl w-full mx-auto py-6 px-4 flex flex-col items-center justify-center flex-grow">
<div class="py-4 w-full mt-2 flex-grow">
<% if @category.articles.published.size == 0 %>
<div class="h-full flex items-center justify-center bg-slate-50 rounded-xl">
<div class="h-full flex items-center justify-center bg-slate-50 rounded-xl py-6">
<p class="text-sm text-slate-500">No articles here</p>
</div>
<% else %>