Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

className instead of class for mdx elements; first attempt at styling with css

0div7cb0135e8edf
diff --git a/apps/web/prebuild.js b/apps/web/prebuild.js
index 7131b7b44..1928ab71f 100644
--- a/apps/web/prebuild.js
+++ b/apps/web/prebuild.js
@@ -73,7 +73,7 @@ function buildRoutes(dirName, dir, basePath = '', depth = 1) {
const versionLinks = `${versions
.map(
(version) =>
- `<a href="/docs/api-reference/${dirName}/${version}" class="version-link">[${version}]</a>`
+ `<a href="/docs/api-reference/${dirName}/${version}" className="version-link">[${version}]</a>`
)
.join('\n ')}`
diff --git a/apps/web/src/styles/tailwind.css b/apps/web/src/styles/tailwind.css
index 1092e15cb..086631d42 100644
--- a/apps/web/src/styles/tailwind.css
+++ b/apps/web/src/styles/tailwind.css
@@ -48,6 +48,15 @@
border-radius: 10px;
}
+ .version-link {
+ color: rgb(0, 255, 0) !important;
+ text-decoration: none !important;
+ }
+
+ .version-link:hover {
+ color: white !important;
+ }
+
.supabase-auth-ui_ui-button {
@apply rounded-lg;
}