thainv-dev: Fix emagazine

This commit is contained in:
nguyen van thai
2024-07-18 17:11:42 +07:00
parent a63155a782
commit b4aa3e45d1
2 changed files with 6 additions and 8 deletions
+5
View File
@@ -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>