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(nits): make settings and chat topbars line up, make shortcuts uppercase on cheat sheet (#954)

Seamus44e79797306d
diff --git a/js/app/packages/app/component/rightbar/Rightbar.tsx b/js/app/packages/app/component/rightbar/Rightbar.tsx
index 1d23c4fb4d..05f1a8f958 100644
--- a/js/app/packages/app/component/rightbar/Rightbar.tsx
+++ b/js/app/packages/app/component/rightbar/Rightbar.tsx
@@ -174,7 +174,7 @@ function TopBar(props: {
return (
<div
- class="h-[calc(2.5rem-1px)] border-b border-edge-muted flex items-center w-full px-2 shrink-0 grow-0"
+ class="h-10 border-b border-edge-muted flex items-center w-full px-2 shrink-0 grow-0"
data-split-panel
>
<DeprecatedIconButton
diff --git a/js/app/packages/app/component/settings/Settings.tsx b/js/app/packages/app/component/settings/Settings.tsx
index 508cec99ba..ec0c50c1d5 100644
--- a/js/app/packages/app/component/settings/Settings.tsx
+++ b/js/app/packages/app/component/settings/Settings.tsx
@@ -152,7 +152,7 @@ export function SettingsPanel(props: SettingsPanelProps) {
>
{/* Header with tabs */}
<div class="relative isolate shrink-0 border-b border-edge-muted">
- <div class="flex items-center px-2 h-[2.5rem]">
+ <div class="flex items-center px-2">
<Show when={!isTouchDevice() || !isMobileWidth()}>
<DeprecatedIconButton
icon={CloseIcon}
@@ -175,7 +175,7 @@ export function SettingsPanel(props: SettingsPanelProps) {
/>
<Tabs.List
- class="flex flex-row suppress-css-brackets h-10 bg-panel overflow-x-scroll overscroll-none scrollbar-hidden scroll-shadows-x relative"
+ class="flex flex-row suppress-css-brackets h-[calc(2.5rem-1px)] bg-panel overflow-x-scroll overscroll-none scrollbar-hidden scroll-shadows-x relative"
as="div"
ref={(el) => {
scrollRef = el;
diff --git a/js/app/packages/app/component/settings/Shortcuts.tsx b/js/app/packages/app/component/settings/Shortcuts.tsx
index af5a09dbfc..68f7491471 100644
--- a/js/app/packages/app/component/settings/Shortcuts.tsx
+++ b/js/app/packages/app/component/settings/Shortcuts.tsx
@@ -79,7 +79,7 @@ function Kbd(props: { shortcut: string; class?: string }) {
function ShortcutRow(props: { item: ShortcutItem }) {
return (
<div class="flex items-center gap-2 py-1.5 px-3 rounded-md hover:bg-panel-secondary/50 transition-colors">
- <div class="shrink-0 flex items-center gap-1">
+ <div class="shrink-0 flex items-center gap-1 uppercase">
<For each={props.item.keys}>
{(key) => <Kbd shortcut={key} />}
</For>
@@ -92,8 +92,8 @@ function ShortcutRow(props: { item: ShortcutItem }) {
function ShortcutSectionComponent(props: { section: ShortcutSection }) {
return (
<div class="mb-6">
- <h3 class="text-accent font-medium text-sm mb-2 px-3 flex items-center gap-2">
- <span class="w-1.5 h-1.5 rounded-full bg-accent" />
+ <h3 class="text-accent font-medium text-lg mb-2 px-3 flex items-center gap-2">
+ {/*<span class="w-1.5 h-1.5 rounded-full bg-accent" />*/}
{props.section.title}
</h3>
<div class="flex flex-col">
@@ -116,7 +116,7 @@ export function Shortcuts() {
>
<div class="max-w-2xl mx-auto">
<div class="mb-8">
- <h2 class="text-lg font-semibold text-ink mb-2">Keyboard Shortcuts</h2>
+ <h2 class="text-xl font-semibold text-ink mb-2">Keyboard Shortcuts</h2>
<p class="text-ink-muted text-sm">
Shortcuts without a {IS_MAC ? 'cmd' : 'ctrl'}/option modifier key require text inputs to be unfocused. For example, pressing <kbd>j</kbd> in a document will insert a j, but will move down the list if the document text is unfocused.
</p>
@@ -131,4 +131,3 @@ export function Shortcuts() {
</div>
);
}
-