Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

style(command): hotkey styles (#123)

Seamusddb084799e14
diff --git a/js/app/packages/app/component/command/KonsoleItem.tsx b/js/app/packages/app/component/command/KonsoleItem.tsx
index 3f71f91317..d3fb6574f2 100644
--- a/js/app/packages/app/component/command/KonsoleItem.tsx
+++ b/js/app/packages/app/component/command/KonsoleItem.tsx
@@ -4,7 +4,7 @@ import { URL_PARAMS as PDF_PARAMS } from '@block-pdf/signal/location';
import type { BlockName } from '@core/block';
import { BozzyBracket } from '@core/component/BozzyBracket';
import type { ChannelsContext } from '@core/component/ChannelsProvider';
-import { BasicHotkey } from '@core/component/Hotkey';
+import { Hotkey } from '@core/component/Hotkey';
import { StaticMarkdown } from '@core/component/LexicalMarkdown/component/core/StaticMarkdown';
import { Message } from '@core/component/Message';
import { UserIcon } from '@core/component/UserIcon';
@@ -478,8 +478,13 @@ export function CommandItemCard(props: CommandItemProps) {
if (props.item.type !== 'command') return null;
if (props.item.data.hotkeys.length === 0) return null;
return (
- <div class="pr-2">
- <BasicHotkey shortcut={props.item.data.hotkeys.at(0)} size="lg" />
+ <div class="pr-2 flex items-center justify-center text-[0.75rem] font-medium text-ink-extra-muted">
+ <div class="p-2 py-0.5 border border-edge-muted/50 rounded-xs">
+ <Hotkey
+ shortcut={props.item.data.hotkeys.at(0)}
+ class="flex gap-1 items-center"
+ />
+ </div>
</div>
);
};