fix: graph-view width now limited by the main container width

Related to #1456
This commit is contained in:
Tienson Qin
2021-03-16 23:09:29 +08:00
parent 5ce319415c
commit 132b7ab1cc

View File

@@ -131,7 +131,8 @@
(ui/loading (t :loading))]]
:else
[:div.max-w-7xl.mx-auto {:style {:margin-bottom (if global-graph-pages? 0 120)}}
[:div {:class (if global-graph-pages? "" (util/hiccup->class "max-w-7xl.mx-auto"))
:style {:margin-bottom (if global-graph-pages? 0 120)}}
main-content])]]
(right-sidebar/sidebar)]))