Tweaking post UI

This commit is contained in:
PascalMarchesseault
2024-08-07 02:18:38 -04:00
parent e69b606aec
commit fab99c288d
5 changed files with 126 additions and 38 deletions

View File

@@ -44,8 +44,7 @@ function getComponent(url) {
</script>
<template>
<div class="shadow-md rounded-lg bg-gray-50">
<div class="shadow-md rounded-lg bg-gray-50 px-10">
<v-card
outlined
tile
@@ -83,14 +82,13 @@ function getComponent(url) {
</v-card>
<div>
<div>
<h2 class="font-sans font-semibold">Commentaires</h2>
<h2 class="font-sans font-semibold mt-4">Commentaires</h2>
<message-list :subject-id="props.content.id" :messages="messages">
</message-list>
</div>
<div class="border-t-2 border-gray-300 mt-4 pt-4">
<div class="py-2">
<post-message :subject-id="props.content.id" @message-posted="addMessage">
</post-message>
</div>