From ccffb1fa091806590e1a252176379c1fe191e191 Mon Sep 17 00:00:00 2001
From: "Leona B. Campbell" <3880403+runleonarun@users.noreply.github.com>
Date: Thu, 26 Oct 2023 15:19:54 -0700
Subject: [PATCH] Revert "Ensure we load stoplight css first so that base
styles get overridden" (#4351)
Reverts dbt-labs/docs.getdbt.com#4348
---
website/docusaurus.config.js | 5 -----
website/src/components/stoplight/index.js | 27 ++++++++++++++---------
2 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index a24cab32ef2..ce81d614c65 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -278,11 +278,6 @@ var siteSettings = {
},
{rel: 'icon', href: '/img/favicon.png', type: 'image/png'},
{rel: 'icon', href: '/img/favicon.svg', type: 'image/svg+xml'},
- {
- href: "https://unpkg.com/@stoplight/elements/styles.min.css",
- type: "text/css",
- crossorigin: "anonymous"
- },
],
};
diff --git a/website/src/components/stoplight/index.js b/website/src/components/stoplight/index.js
index c7d2731903c..bff43dd27c8 100644
--- a/website/src/components/stoplight/index.js
+++ b/website/src/components/stoplight/index.js
@@ -6,15 +6,22 @@ export default function Stoplight({ version }) {
return null;
}
return (
-
+ <>
+
+
+ >
);
}