Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(docs): use box-shadow for nav active indicator

Sushmithamalleshd678e2db1d00
diff --git a/docs/app/global.css b/docs/app/global.css
index c176e4b1e..0a91ba052 100644
--- a/docs/app/global.css
+++ b/docs/app/global.css
@@ -387,32 +387,16 @@ textarea:focus-visible {
outline-offset: 2px;
}
-/* Active nav link - orange color on all screens */
+/* Active nav link - orange color and underline */
#nd-nav nav > a[data-active="true"] {
color: var(--composio-orange);
+ box-shadow: inset 0 -2px 0 var(--composio-orange);
}
#nd-nav nav > a[data-active="true"]:hover {
background: transparent;
}
-/* Active nav indicator - only on desktop where nav is horizontal */
-@media (min-width: 768px) {
- #nd-nav nav > a[data-active="true"] {
- position: relative;
- }
-
- #nd-nav nav > a[data-active="true"]::after {
- content: '';
- position: absolute;
- bottom: -0.5rem; /* Extend down to overlap navbar border */
- left: 0;
- right: 0;
- height: 2px;
- background: var(--composio-orange);
- }
-}
-
/* Right side items - consistent gaps */
#nd-nav > div:last-child {
gap: 0.5rem;