enhance: unselect blocks

This commit is contained in:
Tienson Qin
2025-06-03 08:26:20 +08:00
parent a29afcb080
commit d5b1434440
2 changed files with 6 additions and 4 deletions

View File

@@ -46,4 +46,6 @@
(fn [_event] (let [current-repo (state/get-current-repo)
tap-f (fn [block-id]
(url-util/get-logseq-graph-uuid-url nil current-repo block-id))]
(editor-handler/copy-block-ref! (first block-ids) tap-f))))]]))
(editor-handler/copy-block-ref! (first block-ids) tap-f))))
(action-command "x" "Unselect"
(fn [_event] (state/clear-selection!)))]]))

View File

@@ -7,11 +7,11 @@
.ti, .tie {
@apply text-[var(--ls-primary-text-color)] text-[23px] opacity-60;
@apply text-[var(--ls-primary-text-color)] text-[23px] opacity-75;
}
.description {
@apply text-[var(--ls-primary-text-color)] text-[13px] opacity-60;
@apply text-[var(--ls-primary-text-color)] text-[10px] opacity-75;
}
button {
@@ -20,7 +20,7 @@
flex-direction: column; /* Stack icon and label */
align-items: center; /* Center horizontally */
justify-content: center; /* Center vertically */
padding: 10px;
padding: 12px 4px;
}
}
}