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(channel): tweak style nits (#3364)

Seamus14af450f7369
diff --git a/js/app/packages/block-channel/component/NewChannelBlockAdapter.tsx b/js/app/packages/block-channel/component/NewChannelBlockAdapter.tsx
index 0f410375b2..585f4102de 100644
--- a/js/app/packages/block-channel/component/NewChannelBlockAdapter.tsx
+++ b/js/app/packages/block-channel/component/NewChannelBlockAdapter.tsx
@@ -221,7 +221,7 @@ export function NewChannelBlockAdapter(props: BlockChannelProps) {
if (targetMessageId && messagesChannelHandle.current) {
setActiveTab(DEFAULT_CHANNEL_TAB);
- await messagesChannelHandle.current.goToMessage(
+ messagesChannelHandle.current.goToMessage(
targetMessageId,
targetMessageReplyId
);
@@ -269,7 +269,7 @@ export function NewChannelBlockAdapter(props: BlockChannelProps) {
pendingJoinCall={pendingJoinCall}
onHandled={() => setPendingJoinCall(false)}
/>
- <div class="h-full flex flex-col">
+ <div class="h-full flex flex-col px-2 mobile:px-0">
<Switch>
<Match when={activeTab() === 'messages'}>
<NewChannel
diff --git a/js/app/packages/block-md/component/InlineTaskProperties.tsx b/js/app/packages/block-md/component/InlineTaskProperties.tsx
index c2b68db647..7897ef1dbc 100644
--- a/js/app/packages/block-md/component/InlineTaskProperties.tsx
+++ b/js/app/packages/block-md/component/InlineTaskProperties.tsx
@@ -80,7 +80,7 @@ export function InlineTaskProperties() {
onPropertyDeleted={refetch}
saveHandler={saveHandler}
>
- <div class="flex flex-row flex-wrap items-center gap-1 text-base mb-6">
+ <div class="flex flex-row flex-wrap items-center gap-2 text-sm mb-6">
<For each={inlineProperties()}>
{(property) => <InlinePropertyValue property={property} />}
</For>
diff --git a/js/app/packages/channel/Message/MessageFlag.tsx b/js/app/packages/channel/Message/MessageFlag.tsx
index 7443c21818..823f26cda8 100644
--- a/js/app/packages/channel/Message/MessageFlag.tsx
+++ b/js/app/packages/channel/Message/MessageFlag.tsx
@@ -38,7 +38,7 @@ export function MessageFlag(props: MessageFlagProps) {
/>
<span
class={cn(
- 'text-xs px-3 ring py-1.5 rounded-sm',
+ 'text-xs px-3 ring py-1 rounded-sm',
props.highlightBelow
? 'text-accent ring-accent'
: 'text-ink-extra-muted ring-rail'
diff --git a/js/app/packages/channel/Thread/ThreadCollapsedIndicator.tsx b/js/app/packages/channel/Thread/ThreadCollapsedIndicator.tsx
index 74702269f4..62a8eb9d43 100644
--- a/js/app/packages/channel/Thread/ThreadCollapsedIndicator.tsx
+++ b/js/app/packages/channel/Thread/ThreadCollapsedIndicator.tsx
@@ -41,8 +41,8 @@ export function ThreadCollapsedIndicator(props: ThreadCollapsedIndicatorProps) {
<button
type="button"
class={cn(
- 'flex flex-row gap-2 items-center text-xs w-fit h-(--user-icon-width) touch:min-h-(--user-icon-width) border bg-surface hover:bg-hover hover-transition-bg pr-2 pl-1 mb-2 select-none outline-none focus:bg-active',
- local.hasNewMessages ? 'border-accent' : 'border-edge-muted',
+ 'flex flex-row gap-2 items-center text-xs w-fit h-(--user-icon-width) touch:min-h-(--user-icon-width) ring bg-surface hover:bg-hover hover-transition-bg pr-2 pl-1 mb-2 select-none outline-none focus:bg-active rounded-sm',
+ local.hasNewMessages ? 'ring-accent' : 'ring-rail',
local.class
)}
onMouseEnter={() => {
diff --git a/js/app/packages/channel/Thread/ThreadReplyButton.tsx b/js/app/packages/channel/Thread/ThreadReplyButton.tsx
index 8711dcae64..c58c7e960d 100644
--- a/js/app/packages/channel/Thread/ThreadReplyButton.tsx
+++ b/js/app/packages/channel/Thread/ThreadReplyButton.tsx
@@ -14,7 +14,7 @@ export function ThreadReplyButton(props: ThreadReplyButtonProps) {
<button
type="button"
class={cn(
- 'w-min rounded icon-plus mb-2 border border-edge-muted bg-surface hover:bg-hover hover-transition-bg flex flex-row justify-center items-center size-(--user-icon-width) touch:min-h-(--user-icon-width) touch:min-w-(--user-icon-width) text-ink-muted',
+ 'w-min rounded-sm icon-plus mb-2 ring ring-rail bg-surface hover:bg-hover hover-transition-bg flex flex-row justify-center items-center size-(--user-icon-width) touch:min-h-(--user-icon-width) touch:min-w-(--user-icon-width) text-ink-muted',
local.class
)}
ref={(el) => {
diff --git a/js/app/packages/channel/Thread/ThreadTypingIndicator.tsx b/js/app/packages/channel/Thread/ThreadTypingIndicator.tsx
index e14845e2a1..f398faf6f0 100644
--- a/js/app/packages/channel/Thread/ThreadTypingIndicator.tsx
+++ b/js/app/packages/channel/Thread/ThreadTypingIndicator.tsx
@@ -37,10 +37,10 @@ function ThreadTypingIndicatorContent(
props: ThreadTypingIndicatorContentProps
) {
return (
- <div class="flex items-center">
+ <div class="flex items-center text-ink-extra-muted">
<ThreadTypingIndicatorConnector />
<div class="size-0 bg-rail rounded-sm" />
- <span class="text-xs text-ink-extra-muted ml-2">{props.text}</span>
+ <span class="text-xs ml-2">{props.text}</span>
<ThreadTypingIndicatorDots />
</div>
);