chore: fix html report layout (takes half the screen) (#35967)

This commit is contained in:
Pavel Feldman 2025-05-15 16:05:36 -07:00 committed by GitHub
parent 932b6e6a56
commit e9de07a556
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -57,4 +57,8 @@
border-left: none;
border-right: none;
}
.header-title, .header-superheader {
margin: 0 8px;
}
}

View File

@ -132,16 +132,16 @@ const TestCaseViewLoader: React.FC<{
}, [test, report, testId, testIdToFileIdMap]);
if (test === 'loading')
return <div className='test-case-column vbox'></div>;
return <div className='test-case-column'></div>;
if (test === 'not-found') {
return <div className='test-case-column vbox'>
return <div className='test-case-column'>
<HeaderView title='Test not found' />
<div className='test-case-location'>Test ID: {testId}</div>
</div>;
}
return <div className='test-case-column vbox'>
return <div className='test-case-column'>
<TestCaseView
projectNames={report.json().projectNames}
next={next}