Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

add docstring styles for links (#9827)

Shahmir Varqha2ca3d6405c6a
diff --git a/frontend/src/components/editor/documentation.css b/frontend/src/components/editor/documentation.css
index a592c9c4bf..3c5944ffde 100644
--- a/frontend/src/components/editor/documentation.css
+++ b/frontend/src/components/editor/documentation.css
@@ -51,6 +51,22 @@
}
}
+ a {
+ cursor: pointer;
+ text-decoration: inherit;
+
+ @apply text-link;
+ }
+
+ a:hover,
+ a:active {
+ text-decoration: underline;
+ }
+
+ a:visited {
+ @apply text-link-visited;
+ }
+
code {
@apply border px-1 rounded font-mono bg-[var(--slate-2)] text-sm mb-4 mt-2;
}