fix: 💄 Align component styles

This commit is contained in:
chezsmithy 2025-08-26 01:09:09 -07:00
parent c9ecefaca3
commit 19f58d435f
2 changed files with 3 additions and 7 deletions

View file

@ -97,10 +97,6 @@ const StyledTerminalContainer = styled.div<{
const TerminalContent = styled.div`
pre {
white-space: pre-wrap;
background-color: ${vscEditorBackground};
border-radius: ${defaultBorderRadius};
border: 1px solid
var(--vscode-editorWidget-border, rgba(127, 127, 127, 0.3));
max-width: calc(100vw - 24px);
overflow-x: scroll;
overflow-y: hidden;
@ -474,7 +470,7 @@ export function UnifiedTerminalCommand({
{/* Content */}
{isExpanded && (
<TerminalContent>
<pre>
<pre className="bg-editor">
<code>
{/* Command is always visible */}
<div

View file

@ -198,7 +198,7 @@ export function FindAndReplaceDisplay({
className={`${config?.ui?.showChatScrollbar ? "thin-scrollbar" : "no-scrollbar"} max-h-72 overflow-auto`}
>
<pre
className={`m-0 text-xs leading-tight ${config?.ui?.codeWrap ? "w-full whitespace-pre-wrap" : "w-min whitespace-pre"}`}
className={`bg-editor m-0 w-full text-xs leading-tight ${config?.ui?.codeWrap ? "whitespace-pre-wrap" : "whitespace-pre"}`}
>
{diffResult.diff.map((part, index) => {
if (part.removed) {
@ -245,7 +245,7 @@ export function FindAndReplaceDisplay({
);
} else {
return (
<div key={index} className="bg-background">
<div key={index}>
{part.value.split("\n").map((line, lineIndex) => {
if (
line === "" &&