fix(html): fix the mobile layout (#9945)
This commit is contained in:
parent
9cfbc0c171
commit
0221f1a4e0
|
|
@ -342,6 +342,11 @@ a.no-decorations {
|
||||||
color: var(--color-fg-muted);
|
color: var(--color-fg-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.status-container {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
.octicon {
|
.octicon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
|
|
@ -598,4 +603,10 @@ article, aside, details, figcaption, figure, footer, header, main, menu, nav, se
|
||||||
padding: 5px 3px;
|
padding: 5px 3px;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status-container {
|
||||||
|
float: none;
|
||||||
|
margin: 0 !important;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,10 @@ const AllTestFilesSummaryView: React.FC<{
|
||||||
return result;
|
return result;
|
||||||
}, [report, filter]);
|
}, [report, filter]);
|
||||||
return <div className='file-summary-list'>
|
return <div className='file-summary-list'>
|
||||||
{report && <div className='d-flex'>
|
{report && <div>
|
||||||
|
<div className='status-container ml-2 pl-2 d-flex'>
|
||||||
|
<StatsNavView stats={report.stats}></StatsNavView>
|
||||||
|
</div>
|
||||||
<form className='subnav-search' onSubmit={
|
<form className='subnav-search' onSubmit={
|
||||||
event => {
|
event => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
@ -109,9 +112,6 @@ const AllTestFilesSummaryView: React.FC<{
|
||||||
setFilterText(e.target.value);
|
setFilterText(e.target.value);
|
||||||
}}></input>
|
}}></input>
|
||||||
</form>
|
</form>
|
||||||
<div className='ml-2 pl-2 d-flex'>
|
|
||||||
<StatsNavView stats={report.stats}></StatsNavView>
|
|
||||||
</div>
|
|
||||||
</div>}
|
</div>}
|
||||||
{report && filteredFiles.map(({ file, defaultExpanded }) => {
|
{report && filteredFiles.map(({ file, defaultExpanded }) => {
|
||||||
return <TestFileSummaryView
|
return <TestFileSummaryView
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue