Skip to content

Commit

Permalink
fix: fullscreen app links
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Mar 11, 2024
1 parent dc567f7 commit e0733e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion solara/website/pages/documentation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,14 @@ def Sidebar():
# skip pages that are only used to demonstrate Link or Router usage
if subitem.path == "/" or subitem.label is None:
continue
path = (
"/documentation/" + route.path + "/" + item.path + "/" + subitem.path
if item.path != "fullscreen"
else "/apps/" + subitem.path
)
with solara.v.ListItemGroup():
with solara.Link(
"/documentation/" + route.path + "/" + item.path + "/" + subitem.path,
path,
):
with solara.v.ListItem(dense=True, style_="padding: 0 20px;"):
solara.v.ListItemContent(
Expand Down

0 comments on commit e0733e4

Please sign in to comment.