|
@@ -101,7 +101,6 @@
|
|
|
[:div.flex-1.h-0.overflow-y-auto
|
|
[:div.flex-1.h-0.overflow-y-auto
|
|
|
(sidebar-nav route-match close-fn)]]])
|
|
(sidebar-nav route-match close-fn)]]])
|
|
|
|
|
|
|
|
-
|
|
|
|
|
(rum/defc sidebar-main
|
|
(rum/defc sidebar-main
|
|
|
[{:keys [route-match global-graph-pages? logged? home? route-name indexeddb-support? white? db-restoring? main-content]}]
|
|
[{:keys [route-match global-graph-pages? logged? home? route-name indexeddb-support? white? db-restoring? main-content]}]
|
|
|
(rum/with-context [[t] i18n/*tongue-context*]
|
|
(rum/with-context [[t] i18n/*tongue-context*]
|
|
@@ -326,7 +325,7 @@
|
|
|
:close-fn close-fn
|
|
:close-fn close-fn
|
|
|
:route-match route-match})
|
|
:route-match route-match})
|
|
|
|
|
|
|
|
- [:div.cp__sidebar-layout
|
|
|
|
|
|
|
+ [:div.cp__sidebar-layout.h-screen
|
|
|
(header/header {:open-fn open-fn
|
|
(header/header {:open-fn open-fn
|
|
|
:white? white?
|
|
:white? white?
|
|
|
:current-repo current-repo
|
|
:current-repo current-repo
|
|
@@ -352,7 +351,7 @@
|
|
|
(custom-context-menu)
|
|
(custom-context-menu)
|
|
|
[:a#download.hidden]
|
|
[:a#download.hidden]
|
|
|
(when (and (not config/mobile?)
|
|
(when (and (not config/mobile?)
|
|
|
- (not config/publishing?))
|
|
|
|
|
|
|
+ (not config/publishing?))
|
|
|
[(help-button)
|
|
[(help-button)
|
|
|
;; [:div.font-bold.absolute.bottom-4.bg-base-2.rounded-full.h-8.w-8.flex.items-center.justify-center.font-bold.cursor.opacity-70.hover:opacity-100
|
|
;; [:div.font-bold.absolute.bottom-4.bg-base-2.rounded-full.h-8.w-8.flex.items-center.justify-center.font-bold.cursor.opacity-70.hover:opacity-100
|
|
|
;; {:style {:left 24}
|
|
;; {:style {:left 24}
|
|
@@ -360,4 +359,4 @@
|
|
|
;; :on-click (fn []
|
|
;; :on-click (fn []
|
|
|
;; (state/set-left-sidebar-open! (not (state/get-left-sidebar-open))))}
|
|
;; (state/set-left-sidebar-open! (not (state/get-left-sidebar-open))))}
|
|
|
;; (if (state/sub :ui/left-sidebar-open?) "<" ">")]
|
|
;; (if (state/sub :ui/left-sidebar-open?) "<" ">")]
|
|
|
- ])])))
|
|
|
|
|
|
|
+])])))
|