Remove page properties background for db-based graphs

pull/10981/head
Tienson Qin 2024-01-24 02:18:25 +08:00
parent 054185ab39
commit 3700592832
1 changed files with 7 additions and 1 deletions

View File

@ -721,7 +721,13 @@
(not (:page-configure? opts)))
[:div.ls-properties-area (cond-> (if in-block-container?
{}
{:class [(if class-schema? "class-properties" "page-properties")]})
{:class [(cond
class-schema?
"class-properties"
(config/db-based-graph? (state/get-current-repo))
nil
:else
"page-properties")]})
(:selected? opts)
(update :class conj "select-none"))
(properties-section block (if class-schema? properties own-properties) opts)