thainv-dev: Fix emagazine
This commit is contained in:
@@ -208,6 +208,11 @@ div[layout="ARTICLE_PAGE"] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emagazine {
|
||||||
|
h1,h2,h3,h4,h5,h6,span,em {
|
||||||
|
@apply w-full max-w-660px mx-auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
.detail-default {
|
.detail-default {
|
||||||
p {
|
p {
|
||||||
@apply text-18px font-raleway leading-180% my-10px;
|
@apply text-18px font-raleway leading-180% my-10px;
|
||||||
|
|||||||
@@ -12,15 +12,8 @@ console.log(currentArticle.value, 'currentArticle')
|
|||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="overflow-hidden emagazine">
|
<div class="overflow-hidden emagazine">
|
||||||
<!-- bổ sung sau -->
|
|
||||||
<!-- <img :src="currentArticle.thumbnail" alt="" class="w-full object-cover">
|
|
||||||
|
|
||||||
<div class="px-44px pb-30px my-30px max-w-660px mx-auto border-b-1px border-#000">
|
|
||||||
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<h2 class="font-gelasio text-center text-44px font-bold leading-130%" v-if="currentArticle?.title" v-html="currentArticle?.title"></h2>
|
<h2 class="font-gelasio text-center text-44px font-bold leading-130%" v-if="currentArticle?.title" v-html="currentArticle?.title"></h2>
|
||||||
<div v-html="currentArticle.detail"></div>
|
<div class="article-detail" v-html="currentArticle.detail"></div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user