Skip to content

Commit e8cd954

Browse files
committed
correct design post
1 parent b3015b9 commit e8cd954

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

src/components/Post.vue

+7-13
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@
2828
></span>
2929
</h6>
3030
<div class="card-text">
31-
<p>
32-
<i class="fa fa-tags"></i>
33-
<span v-for="(c, kc) in post.cat" :key="kc">{{ c + " " }}</span>
31+
<p class="my-1">
32+
<i class="fa fa-tags text-success"></i>
33+
<span v-for="(c, kc) in post.cat" :key="kc" class="text-primary">{{
34+
c + " "
35+
}}</span>
3436
</p>
3537
<p>{{ post.desc }}</p>
3638
</div>
@@ -73,14 +75,6 @@
7375
<div class="mt-3">
7476
<button @click="addcomment" class="btn btn-primary">Comment</button>
7577
</div>
76-
<!--<hr>
77-
<span @click="predisplay=!predisplay" class="debug">Debug</span>
78-
<pre v-if="predisplay">
79-
<span class="pre-header">DEBUG MODE:</span>
80-
loginid: <b>{{loginid}}</b>
81-
likes (id): <b>{{post.like}}</b>
82-
reposts (id): <b>{{post.repost}}</b>
83-
</pre>-->
8478
</div>
8579
</article>
8680
<app-editpost
@@ -128,10 +122,10 @@
128122
font-weight: bold;
129123
}
130124
.comments {
131-
background: #ccc;
125+
background: #ddd;
132126
line-height: 14px;
133127
font-size: 10px;
134-
border: 1px solid #555;
128+
border: 1px solid #ccc;
135129
padding: 5px;
136130
margin: 5px;
137131
cursor: default;

0 commit comments

Comments
 (0)