feat(components/sidebar): hide `sidebar-nav-wrapper` at mobile layout

pull/645/head
Runjuu 2020-11-13 14:35:13 +08:00
parent 967fe4f708
commit 2f20927ffa
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@
(rum/with-context [[t] i18n/*tongue-context*]
[:div#main-content.cp__sidebar-main-layout
(when-not config/mobile?
[:div#sidebar-nav-wrapper.flex-col.pt-4
[:div#sidebar-nav-wrapper.flex-col.pt-4.hidden.sm:block
{:style {:flex (if (state/get-left-sidebar-open)
"0 1 20%"
"0 0 0px")