mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:51:57 +00:00
cody: fix context files overflow (#53726)
This commit is contained in:
parent
8d940c6021
commit
44d483d43f
@ -14,13 +14,12 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
width: .1rem;
|
||||
width: 0.1rem;
|
||||
height: 100%;
|
||||
|
||||
content: '';
|
||||
}
|
||||
|
||||
|
||||
.assistant-row:before {
|
||||
background-image: linear-gradient(to bottom, #b200f8, #ff5543, #00cbec);
|
||||
}
|
||||
|
||||
@ -48,8 +48,8 @@ export const TranscriptAction: React.FunctionComponent<{
|
||||
// eslint-disable-next-line react/no-array-index-key
|
||||
<li key={index} className={styles.step}>
|
||||
{step.icon && <Icon svgPath={step.icon} className={styles.stepIcon} />}{' '}
|
||||
<span>
|
||||
{step.verb} <span className={styles.stepObject}>{step.object}</span>
|
||||
<span className={styles.stepObject}>
|
||||
{step.verb} {step.object}
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
|
||||
@ -35,14 +35,14 @@ body[data-vscode-theme-kind='vscode-high-contrast'] .transcript-item:not(.human-
|
||||
color: var(--code-foreground);
|
||||
}
|
||||
|
||||
.transcript-item ul,
|
||||
.transcript-item ol {
|
||||
padding-left: 1rem;
|
||||
.transcript-item ul:not(.transcript-action *),
|
||||
.transcript-item ol:not(.transcript-action *) {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
.transcript-action {
|
||||
background: var(--button-secondary-background);
|
||||
color: var(--button-secondary-foreground);
|
||||
background: var(--vscode-button-secondaryBackground);
|
||||
color: var(--vscode-button-secondaryForeground);
|
||||
font-size: var(--vscode-editor-font-size);
|
||||
}
|
||||
|
||||
@ -109,7 +109,6 @@ body[data-vscode-theme-kind='vscode-high-contrast'] .transcript-item:not(.human-
|
||||
|
||||
.suggestion-button {
|
||||
border-radius: 1rem;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.submit-button-disabled {
|
||||
|
||||
@ -13,6 +13,7 @@ export const FileLink: React.FunctionComponent<FileLinkProps> = ({ path }) => (
|
||||
onClick={() => {
|
||||
getVSCodeAPI().postMessage({ command: 'openFile', filePath: path })
|
||||
}}
|
||||
title={path}
|
||||
>
|
||||
{path}
|
||||
</button>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user