fix: prompt button should not be hidden by error (#35268)
This commit is contained in:
parent
273df454e0
commit
6f1ec11072
|
@ -17,8 +17,8 @@
|
|||
@import '@web/third_party/vscode/colors.css';
|
||||
|
||||
.test-error-container {
|
||||
position: relative;
|
||||
white-space: pre;
|
||||
overflow: auto;
|
||||
flex: none;
|
||||
padding: 0;
|
||||
background-color: var(--color-canvas-subtle);
|
||||
|
@ -28,6 +28,7 @@
|
|||
}
|
||||
|
||||
.test-error-view {
|
||||
overflow: auto;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ export const TestErrorView: React.FC<{
|
|||
return (
|
||||
<CodeSnippet code={error} testId={testId}>
|
||||
{prompt && (
|
||||
<div style={{ float: 'right', margin: 10 }}>
|
||||
<div style={{ position: 'absolute', right: 0, padding: '10px' }}>
|
||||
<PromptButton prompt={prompt} />
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue