fix: remove padding bottom for global graph

pull/1196/head
Tienson Qin 2021-01-24 17:55:54 +08:00
parent 0ac53160e4
commit 49d6b70c68
3 changed files with 3 additions and 3 deletions

View File

@ -434,7 +434,7 @@
{:width (if (and (> width 1280) sidebar-open?)
(- width 24 600)
(- width 24))
:height (- height 120)
:height height
:ref (fn [v] (reset! graph-ref v))
:ref-atom graph-ref}))
[:div.ls-center.mt-20

View File

@ -320,7 +320,8 @@
:close-fn close-fn
:route-match route-match})
[:div.#app-container.cp__sidebar-layout
{:class (if sidebar-open? "is-right-sidebar-open")}
{:class (if sidebar-open? "is-right-sidebar-open")
:style {:padding-bottom (if global-graph-pages? 0 30)}}
(header/header {:open-fn open-fn
:white? white?
:current-repo current-repo

View File

@ -56,7 +56,6 @@
display: flex;
flex-direction: column;
min-height: 100vh;
padding-bottom: 30px;
}
.cp__sidebar-main-layout {