Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/polis/guides/frameworks/remix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ export default function Error() {

return (
<div className="h-full">
<div className="h-[20%] translate-y-[100%] px-[20%] text-[hsl(152,56%,40%)]">
<div className="h-[20%] translate-y-full px-[20%] text-[hsl(152,56%,40%)]">
<svg className="mb-5 h-10 w-10" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
<path strokeLinecap="round" strokeLinejoin="round" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
Expand Down
20 changes: 10 additions & 10 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@ const config: Config = {
// buttonPosition: "center-right",
// },
// ],
async function tailwindcss(context, options) {
return {
name: "docusaurus-tailwindcss",
configurePostCss(postcssOptions) {
// Use the new PostCSS plugin for Tailwind CSS
postcssOptions.plugins.push(require("@tailwindcss/postcss"))
return postcssOptions
},
}
},
[
"@docusaurus/plugin-content-docs",
{
Expand Down Expand Up @@ -178,16 +188,6 @@ const config: Config = {
svgrConfig: {},
},
],
async function tailwindcss(context, options) {
return {
name: "docusaurus-tailwindcss",
configurePostCss(postcssOptions) {
// Use the new PostCSS plugin for Tailwind CSS
postcssOptions.plugins.push(require("@tailwindcss/postcss"))
return postcssOptions
},
}
},
],
presets: [
[
Expand Down
Loading
Loading