Browse Source

fix: Multi Value Property Available Choices list is not scrollable

fixes https://github.com/logseq/db-test/issues/381
Tienson Qin 4 months ago
parent
commit
2390f81da9

+ 2 - 1
src/main/frontend/components/property.css

@@ -431,7 +431,8 @@ a.control-link {
 }
 
 .ls-property-choices-sub-pane {
-  @apply w-[220px] p-0;
+  @apply w-[220px] px-0 pb-8 overflow-y-scroll;
+  max-height: 100vh;
 
   > ul.choices-list {
     @apply m-0 px-1.5 pt-1 pb-[1px];

+ 2 - 1
src/main/frontend/components/repo.cljs

@@ -127,6 +127,7 @@
                                            (state/pub-event! [:graph/unlinked repo (state/get-current-repo)]))))))}
               "Delete local graph"))
            (when (and db-based? root
+                      (user-handler/logged-in?)
                       (not remote?)
                       (= url (state/get-current-repo)))
              (shui/dropdown-menu-item
@@ -151,7 +152,7 @@
                                   (p/do!
                                    (rtc-flows/trigger-rtc-start repo)
                                    (rtc-handler/<get-remote-graphs)))))))}
-              "Use Logseq sync (Beta testing)"))
+              "Use Logseq sync (Alpha testing)"))
            (when (and remote? (or (and db-based? manager?) (not db-based?)))
              (shui/dropdown-menu-item
               {:key "delete-remotely"