Skip to content

Commit

Permalink
cljfmt fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Apr 3, 2024
1 parent 1bf1999 commit ba820dc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 22 deletions.
5 changes: 1 addition & 4 deletions src/pinkgorilla/layout/sidebar_tree.cljs
Expand Up @@ -28,7 +28,4 @@
(into [:ul]
(map menu items))]]
[:div.sidebar-main
page
]

])
page]])
20 changes: 8 additions & 12 deletions src/spaces/layout/fixed.cljs
Expand Up @@ -2,16 +2,15 @@
(:require
[spaces.core :as spaces]))

(defn main-top [{:keys [height width
(defn main-top [{:keys [height width
top top-size top-resizeable top-scrollable
main main-scrollable]
:or {height "100%"
width "100%"
top-size 50
top-resizeable true
top-scrollable false
main-scrollable true
}}]
main-scrollable true}}]
;(println "layout-fixed mt ...")
[spaces/fixed {:height height :width width}
(if top-resizeable
Expand All @@ -20,11 +19,10 @@
[spaces/fill {:scrollable main-scrollable}
main]])

(defn left-right-top [{:keys [height width
(defn left-right-top [{:keys [height width
top top-size top-resizeable top-scrollable
left left-size left-resizeable left-scrollable
right right-scrollable
]
right right-scrollable]
:or {height "100%"
width "100%"
top-size 50
Expand All @@ -33,12 +31,11 @@
left-size "50%"
left-resizeable true
left-scrollable true
right-scrollable true
}}]
right-scrollable true}}]
;(println "layout-fixed lrt ...")
[spaces/fixed {:height height :width width}
(if top-resizeable
[spaces/top-resizeable {:size top-size :scrollable top-scrollable } top]
[spaces/top-resizeable {:size top-size :scrollable top-scrollable} top]
[spaces/top {:size top-size :scrollable top-scrollable} top])
[spaces/fill
(if left-resizeable
Expand All @@ -52,15 +49,14 @@
middle middle-scrollable]
:or {height "100%"
width "100%"

left-size "25%"
left-resizeable true
left-scrollable true
right-size "25%"
right-resizeable true
right-scrollable true
middle-scrollable true
}}]
middle-scrollable true}}]
;(println "layout-fixed lrm ...")
[spaces/fixed {:height height :width width}
(if left-resizeable
Expand Down
10 changes: 4 additions & 6 deletions src/spaces/layout/screen.cljs
Expand Up @@ -25,8 +25,7 @@
left-size "50%"
left-resizeable true
left-scrollable true
right-scrollable true
}}]
right-scrollable true}}]
;(println "layout-viewport lrt ...")
[spaces/viewport
(if top-resizeable
Expand All @@ -39,16 +38,15 @@
[spaces/fill {:scrollable right-scrollable} right]]])

(defn screen-left-right-middle [{:keys [left left-size left-resizeable left-scrollable
right right-size right-resizeable right-scrollable
middle middle-scrollable ]
right right-size right-resizeable right-scrollable
middle middle-scrollable]
:or {left-size "25%"
left-resizeable true
left-scrollable true
right-size "25%"
right-resizeable true
right-scrollable true
middle-scrollable true
}}]
middle-scrollable true}}]
;(println "layout-viewport lrm ...")
[spaces/viewport
(if left-resizeable
Expand Down

0 comments on commit ba820dc

Please sign in to comment.