added horizontal padding to posts

This commit is contained in:
ak 2023-09-30 23:38:18 -07:00
parent 9ff4df4a2b
commit 0e36ff8e79
2 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,7 @@ const savePost = async (title, text) => {
<div class="w-full flex flex-col" v-else v-for="post in posts">
<router-link
:to="`/post/${post._id}`"
class="flex flex-col items-center w-full h-fit border-b hover:bg-zinc-700 py-10"
class="flex flex-col items-center w-full h-fit border-b hover:bg-zinc-700 py-10 px-10"
>
<h1 class="text-2xl mb-4">
&#x300E;&nbsp;&nbsp;&nbsp;{{ post.title }}&nbsp;&nbsp;&nbsp;&#x300F;

View file

@ -155,7 +155,7 @@ const deletePost = async () => {
</p>
</div>
<div class="w-full flex flex-col items-center h-fit" v-else>
<div class="w-full flex flex-col items-center py-10">
<div class="w-full flex flex-col items-center py-10 px-10">
<p class="mb-4">{{ post.text }}</p>
<p>
{{ post.author }} &#128394;&#65039; {{ post.date.substring(0, 10) }}