-
The ordered list and the code block isn't styled in production. It works fine on when i'm working on |
Beta Was this translation helpful? Give feedback.
Answered by
anakais
Jul 15, 2021
Replies: 1 comment 2 replies
-
Hey, i just found out why: Was the purgeCSS.I had to ignore a block like this and the style appeared: /*! purgecss start ignore */
& > ol {
@apply list-decimal grid gap-y-2 my-4 ml-4;
& ol {
@apply list-decimal grid gap-y-1 ml-8 mt-2;
}
}
& code,
& kbd,
& samp {
color: var(--text-secondary);
background-color: var(--bg-secondary);
@apply p-1 rounded transition-colors duration-200 ease-in-out;
}
/*! purgecss end ignore */ I believe there are other selectors that are being purged. I don't know much about PurgeCSS or PostCSS so I'll leave it here until I find a more general solution (or someone more knowledgeable). |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Knogobert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, i just found out why: Was the purgeCSS.
I had to ignore a block like this and the style appeared:
I believe there are other selectors that are being purged. I don't know much about PurgeCSS or PostCSS so I'll leave it here until I find a more general solution (or someone more knowledgeable).