From 99db16e3bbf85cff4a6dad0b6c55cd051afe592c Mon Sep 17 00:00:00 2001
From: "Leona B. Campbell" <3880403+runleonarun@users.noreply.github.com>
Date: Thu, 26 Oct 2023 15:12:12 -0700
Subject: [PATCH] Revert "Ensure we load stoplight css first so that base
styles get overridden (#4348)"
This reverts commit 8597c7227ccaf1cf9bc257cb7ffa9bc0c6ad3b62.
---
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 (
-
+ <>
+
+
+ >
);
}