tweaking Post Ui card
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="shadow-md rounded-2xl bg-gray-50 px-6 ">
|
||||
<div class="shadow-md rounded-2xl bg-gray-50 border custom-border">
|
||||
<div>
|
||||
<v-card-title>
|
||||
{{ props.content.title }}
|
||||
@@ -15,14 +15,14 @@
|
||||
<v-carousel-item
|
||||
v-for="url in props.content.urls"
|
||||
:key="url"
|
||||
class="image-container rounded-2xl"
|
||||
class="image-container"
|
||||
>
|
||||
<component :is="getComponent(url)" :src="url"></component>
|
||||
</v-carousel-item>
|
||||
</v-carousel>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="p-4">
|
||||
<div>
|
||||
<h2 class="font-sans font-semibold mt-4">Commentaires</h2>
|
||||
<message-list :subject-id="props.content.id" :messages="messages"></message-list>
|
||||
@@ -80,4 +80,8 @@ function getComponent(url) {
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.custom-border {
|
||||
border-color: #EAEBEC;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<template v-for="content in contents">
|
||||
<content-card :content="content"
|
||||
class="w-full p-2 my-2"
|
||||
class="w-full my-2"
|
||||
></content-card>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user