Hide App navigation on a narrow screen until the user opens it.
A width at or below Nextcloud's 1024px breakpoint keeps the tree off the page so the content stays usable, and the navigation button brings it back. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -59,6 +59,7 @@ func dialogFixture() http.Handler {
|
||||
},
|
||||
}
|
||||
mux.Handle("GET /shell", nav.Handler())
|
||||
mux.Handle("GET /nav", sampleNavigation().Handler())
|
||||
return mux
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user