Skip to content

Commit ebae31d

Browse files
shaneauerbachcursoragentshanedericksozo
authored
Remove idx from docs navigation (#122)
* Remove unused Sim IDX documentation section Co-authored-by: shane <shane@dune.com> * Refactor navigation structure in docs.json Co-authored-by: shane <shane@dune.com> * Refactor navigation to use tabs and hide IDX tab Co-authored-by: shane <shane@dune.com> * Fix: Hide additional sidebar navigation elements Co-authored-by: shane <shane@dune.com> * Refactor: Hide sidebar tabs and adjust spacing Co-authored-by: shane <shane@dune.com> * Refactor: Simplify tab hiding CSS selectors Co-authored-by: shane <shane@dune.com> * Cleaning up the sidebar. Hiding it on mobile also. * Removing the padding top from the table of contents to make it align better with the sidebear and the page's header. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: shane <shane@dune.com> Co-authored-by: Derick Ruiz <derick.r.ruiz@gmail.com>
1 parent a6e76d2 commit ebae31d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

styles.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,16 @@ a.link:not(.nav-tabs-item){
7373
border-top-right-radius: 9999px;
7474
border-bottom-right-radius: 9999px;
7575
}
76+
77+
/* Hide the tab selector to prevent users from discovering IDX */
78+
.nav-tabs-item,
79+
.nav-tabs,
80+
div:has(> .nav-tabs),
81+
#sidebar-content .sticky,
82+
#navigation-items button[type="button"] /* Hide it on mobile */ {
83+
display: none !important;
84+
}
85+
86+
#table-of-contents {
87+
padding-top: 0 !important;
88+
}

0 commit comments

Comments
 (0)