diff --git a/src/main/frontend/components/property.css b/src/main/frontend/components/property.css index 74759382d7..c40918bd4a 100644 --- a/src/main/frontend/components/property.css +++ b/src/main/frontend/components/property.css @@ -4,14 +4,13 @@ } .property-value-content { - @apply px-1 rounded-sm; cursor: text; min-height: 24px; } -.property-value-content:hover { - background: var(--ls-secondary-background-color); -} +/* .property-value-content:hover { */ +/* background: var(--ls-secondary-background-color); */ +/* } */ .ls-properties-area { @apply grid gap-1; diff --git a/src/main/frontend/components/property/value.cljs b/src/main/frontend/components/property/value.cljs index 9c5b97ad4b..9d55b19ada 100644 --- a/src/main/frontend/components/property/value.cljs +++ b/src/main/frontend/components/property/value.cljs @@ -221,7 +221,7 @@ esc? blank? (and *add-new-item? (not= type :default))) - (reset! *add-new-item? false) + (when *add-new-item? (reset! *add-new-item? false)) (and *add-new-item? @*add-new-item?) (some-> (gdom/getElement editor-id) @@ -286,7 +286,7 @@ [:div.h-6 (select-block block property select-opts)] (let [config {:editor-opts (new-text-editor-opts repo block property value type editor-id *add-new-item? opts)}] - [:div.pl-1 + [:div (editor-box editor-args editor-id (cond-> config multiple-values? (assoc :property-value value)))]))]