File tree 4 files changed +14
-9
lines changed
4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 21
21
"devDependencies" : {
22
22
"@nuxtjs/seo" : " ^2.0.0-rc.10" ,
23
23
"@nuxtjs/tailwindcss" : " ^6.12.0" ,
24
+ "@tailwindcss/typography" : " ^0.5.13" ,
24
25
"@unocss/nuxt" : " ^0.60.0"
25
26
},
26
27
"trustedDependencies" : [
Original file line number Diff line number Diff line change 4
4
<Roadmap />
5
5
<div v-if =" content" :class =" ['fixed top-0 h-screen', sidebarClass]" >
6
6
<div
7
- class =" top-0 flex h-full w-full flex-col items-center bg-white p-4 focus:outline-0 sm:p-6"
7
+ class =" top-0 flex overflow-y-auto overflow-x-none h-full w-full flex-col items-center bg-white p-4 focus:outline-0 sm:p-6"
8
8
>
9
- <div class =" w-full flex flex-row justify-between px-4 pb-2" >
9
+ <div class =" w-full flex flex-row justify-between text-black px-4 pb-2" >
10
10
<span >[TODO] Status</span >
11
11
<span class =" hover:cursor-pointer" @click =" closeSidebar" >X</span >
12
12
</div >
13
13
<ContentRenderer :key =" content._id" :value =" content" >
14
- <ContentRendererMarkdown class =" flex flex-col gap-3 text-black overscroll-x-none overflow-y-auto w-full m:max-w-[800px] sm:max-w-[600px]" :value =" content" />
14
+ <ContentRendererMarkdown class =" prose flex flex-col w-full m:max-w-[800px] sm:max-w-[600px]" tag = " article " :value =" content" />
15
15
<div class =" flex flex-col items-start w-full m:max-w-[800px] sm:max-w-[600px]" >
16
16
<h4 id =" related-content" class =" text-black mb-3" >
17
17
<a href =" #related-content" >Contenido Extra Relacionado</a >
18
18
</h4 >
19
- <Card
20
- moreTransparency
19
+ <a
21
20
class =" gap-x-2 mb-1"
22
21
v-for =" (link, i) in content.data.externalLinks"
23
22
:key =" i"
24
23
:href =" link.link"
25
- >
26
- <strong v-if =" link.english" >[Contenido en Ingles]</strong >
27
- {{link.name}}
28
- </Card >
24
+ >
25
+ <Card moreTransparency >
26
+ <strong v-if =" link.english" >[Contenido en Ingles]</strong >
27
+ {{link.name}}
28
+ </Card >
29
+ </a >
29
30
</div >
30
31
</ContentRenderer >
31
32
</div >
Original file line number Diff line number Diff line change 1
1
/** @type {import('tailwindcss').Config } */
2
2
module . exports = {
3
+ plugins : [
4
+ require ( '@tailwindcss/typography' ) ,
5
+ ] ,
3
6
theme : {
4
7
fontFamily : {
5
8
"alfa-slab" : [ "Alfa Slab One" , "sans-serif" ] ,
You can’t perform that action at this time.
0 commit comments