mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
enhance: copy code block
1. search and store code lang instead of mode 2. select uses frontend.components.select instead of shui input + auto-complete
This commit is contained in:
@@ -951,8 +951,14 @@ html.is-mac {
|
||||
@apply hidden;
|
||||
}
|
||||
|
||||
> a.select-language {
|
||||
@apply absolute right-1 top-1 bg-gray-02-alpha border rounded text-gray-11
|
||||
select-none opacity-70 hover:opacity-90 z-[1] text-xs px-1.5;
|
||||
> .code-block-actions {
|
||||
@apply absolute right-1 top-1 select-none z-[1] text-xs;
|
||||
button {
|
||||
@apply !py-0 h-4 text-muted-foreground hover:text-foreground text-xs px-1;
|
||||
}
|
||||
svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user