added horizontal padding to posts
This commit is contained in:
parent
9ff4df4a2b
commit
0e36ff8e79
2 changed files with 2 additions and 2 deletions
|
|
@ -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">
|
||||
『 {{ post.title }} 』
|
||||
|
|
|
|||
|
|
@ -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 }} 🖊️ {{ post.date.substring(0, 10) }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue