Skip to content

Commit

Permalink
fix: Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jan 13, 2025
1 parent fa70ad3 commit 3839f2d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 27 deletions.
19 changes: 1 addition & 18 deletions packages/agent-inbox/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
optimizeFonts: true,
poweredByHeader: false,
async headers() {
return [
{
source: '/:path*',
headers: [
{
key: 'Cache-Control',
value: 'public, max-age=31536000, immutable',
},
],
},
];
},
};
const nextConfig = {};

export default nextConfig;
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ export function InboxItemStatuses({
: "border-green-700 text-green-700"
)}
>
<p className="text-sm flex items-center justify-center gap-2">
<div className="text-sm flex items-center justify-center gap-2">
<div
className={cn(
"w-[6px] h-[6px] rounded-full",
isOnlyIgnoreAllowed ? "bg-gray-600" : "bg-green-700"
)}
/>
<span>{isOnlyIgnoreAllowed ? "Ignore" : "Requires Action"}</span>
</p>
</div>
</div>
);
} else if (status) {
Expand Down
14 changes: 7 additions & 7 deletions packages/agent-inbox/src/components/ui/markdown-text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,38 +45,38 @@ export function MarkdownText({ children, ...props }: MarkdownTextProps) {
h2: ({ node: _node, ...props }) => (
<h2
{...props}
className="scroll-m-20 text-3xl font-semibold tracking-tight mb-1"
className="scroll-m-20 text-3xl font-semibold tracking-tight"
/>
),
h3: ({ node: _node, ...props }) => (
<h3
{...props}
className="scroll-m-20 text-2xl font-semibold tracking-tight mb-1"
className="scroll-m-20 text-2xl font-semibold tracking-tight"
/>
),
h4: ({ node: _node, ...props }) => (
<h4
{...props}
className="scroll-m-20 text-xl font-semibold tracking-tight mb-1"
className="scroll-m-20 text-xl font-semibold tracking-tight"
/>
),
h5: ({ node: _node, ...props }) => (
<h5
{...props}
className="scroll-m-20 text-lg font-semibold tracking-tight mb-1"
className="scroll-m-20 text-lg font-semibold tracking-tight"
/>
),
h6: ({ node: _node, ...props }) => (
<h6
{...props}
className="scroll-m-20 text-base font-semibold tracking-tight mb-1"
className="scroll-m-20 text-base font-semibold tracking-tight"
/>
),
ul: ({ node: _node, ...props }) => (
<ul {...props} className="my-1 ml-6 list-disc [&>li]:mt-1" />
<ul {...props} className="ml-6 list-disc [&>li]:mt-1" />
),
ol: ({ node: _node, ...props }) => (
<ol {...props} className="my-1 ml-6 list-decimal [&>li]:mt-1" />
<ol {...props} className="ml-6 list-decimal [&>li]:mt-1" />
),
li: ({ node: _node, ...props }) => <li {...props} className="ml-4" />,
a: ({ node: _node, className, ...props }) => (
Expand Down

0 comments on commit 3839f2d

Please sign in to comment.