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.

493 B
Raw Blame
import type { ParentProps } from 'solid-js';
import { threadOffsetX } from './utils/thread-rail-geometry';

export function ThreadRepliesContainer(
  props: ParentProps<{
    /** Keep replies in the root's avatar column instead of indenting them. */
    flat?: boolean;
  }>
) {
  return (
    <div
      class="flex flex-col w-full py-(--thread-padding-y)"
      style={{
        'padding-left': props.flat ? undefined : threadOffsetX,
      }}
    >
      {props.children}
    </div>
  );
}