Skip to content

Commit f995340

Browse files
authored
chore: properly resolve ory:// in config editor (#2197)
1 parent 078497e commit f995340

File tree

8 files changed

+2322
-1981
lines changed

8 files changed

+2322
-1981
lines changed

docs/polis/guides/frameworks/remix.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ export default function Error() {
530530

531531
return (
532532
<div className="h-full">
533-
<div className="h-[20%] translate-y-[100%] px-[20%] text-[hsl(152,56%,40%)]">
533+
<div className="h-[20%] translate-y-full px-[20%] text-[hsl(152,56%,40%)]">
534534
<svg className="mb-5 h-10 w-10" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
535535
<path strokeLinecap="round" strokeLinejoin="round" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
536536
</svg>

docusaurus.config.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ const config: Config = {
142142
// buttonPosition: "center-right",
143143
// },
144144
// ],
145+
async function tailwindcss(context, options) {
146+
return {
147+
name: "docusaurus-tailwindcss",
148+
configurePostCss(postcssOptions) {
149+
// Use the new PostCSS plugin for Tailwind CSS
150+
postcssOptions.plugins.push(require("@tailwindcss/postcss"))
151+
return postcssOptions
152+
},
153+
}
154+
},
145155
[
146156
"@docusaurus/plugin-content-docs",
147157
{
@@ -178,16 +188,6 @@ const config: Config = {
178188
svgrConfig: {},
179189
},
180190
],
181-
async function tailwindcss(context, options) {
182-
return {
183-
name: "docusaurus-tailwindcss",
184-
configurePostCss(postcssOptions) {
185-
// Use the new PostCSS plugin for Tailwind CSS
186-
postcssOptions.plugins.push(require("@tailwindcss/postcss"))
187-
return postcssOptions
188-
},
189-
}
190-
},
191191
],
192192
presets: [
193193
[

0 commit comments

Comments
 (0)