Skip to content

Commit

Permalink
fix(typos): missing style attr
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 committed Apr 28, 2021
1 parent b9a36d5 commit bed22b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/frontend/components/sidebar.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
(when (state/sub :ui/left-sidebar-open?)
(sidebar-nav route-match nil))]
[:div#main-content-container.w-full.flex.justify-center
{:margin-top (if global-graph-pages? 0 "2rem")}
{:style {:margin-top (if global-graph-pages? 0 "2rem")}}
[:div.cp__sidebar-main-content
{:data-is-global-graph-pages global-graph-pages?
:data-is-full-width (or global-graph-pages?
Expand Down Expand Up @@ -228,7 +228,7 @@
:exit 300}}
links
;; (custom-context-menu-content)
))))
))))

(rum/defc new-block-mode < rum/reactive
[]
Expand Down Expand Up @@ -346,4 +346,4 @@
;; :on-click (fn []
;; (state/set-left-sidebar-open! (not (state/get-left-sidebar-open?))))}
;; (if (state/sub :ui/left-sidebar-open?) "<" ">")]
)]))))
)]))))

0 comments on commit bed22b5

Please sign in to comment.