mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix(ui): tweaks for the tabler extension icons
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -394,7 +394,7 @@
|
|||||||
(state/get-commands)
|
(state/get-commands)
|
||||||
(when-let [plugin-commands (seq (some->> (state/get-plugins-slash-commands)
|
(when-let [plugin-commands (seq (some->> (state/get-plugins-slash-commands)
|
||||||
(mapv #(vec (concat % [nil :icon/puzzle])))))]
|
(mapv #(vec (concat % [nil :icon/puzzle])))))]
|
||||||
(update plugin-commands 0 (fn [v] (conj v "PLUGINS")))))
|
(-> plugin-commands (vec) (update 0 (fn [v] (conj v "PLUGINS"))))))
|
||||||
(remove nil?)
|
(remove nil?)
|
||||||
(util/distinct-by-last-wins first))))
|
(util/distinct-by-last-wins first))))
|
||||||
|
|
||||||
|
|||||||
@@ -95,7 +95,7 @@
|
|||||||
{:restore? restore-slash?
|
{:restore? restore-slash?
|
||||||
:command command}))))
|
:command command}))))
|
||||||
:class
|
:class
|
||||||
"black"})))
|
"cp__commands-slash"})))
|
||||||
|
|
||||||
(rum/defc block-commands < rum/reactive
|
(rum/defc block-commands < rum/reactive
|
||||||
[id format]
|
[id format]
|
||||||
|
|||||||
@@ -112,4 +112,16 @@ pre {
|
|||||||
&[data-editor-popup-ref=datepicker] {
|
&[data-editor-popup-ref=datepicker] {
|
||||||
@apply w-auto;
|
@apply w-auto;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cp__commands-slash {
|
||||||
|
.ui__icon {
|
||||||
|
@apply opacity-80;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-link {
|
||||||
|
&.chosen .ui__icon {
|
||||||
|
@apply opacity-100;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user