fix(header): more enchantment over header
This commit is contained in:
parent
8423f19a74
commit
0fe7ee2a1f
@ -1,5 +1,5 @@
|
||||
.header .header-row {
|
||||
min-height: 360px;
|
||||
min-height: 330px;
|
||||
}
|
||||
|
||||
.header.sticky .header-row {
|
||||
@ -28,4 +28,5 @@
|
||||
|
||||
.header.sticky .counter-statistic {
|
||||
opacity: 0;
|
||||
margin: 0 !important;
|
||||
}
|
@ -84,3 +84,29 @@
|
||||
padding-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 840px)
|
||||
{
|
||||
.header-row {
|
||||
flex-wrap: wrap;
|
||||
align-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.search-panel {
|
||||
margin-left: inherit !important;
|
||||
}
|
||||
|
||||
.header .header-row {
|
||||
min-height: 450px;
|
||||
}
|
||||
|
||||
.search-panel {
|
||||
margin-top: 0px !important;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.search-row {
|
||||
min-width: 30em !important;
|
||||
}
|
||||
}
|
@ -256,7 +256,7 @@ class Search extends Component {
|
||||
|
||||
return (
|
||||
<div className="column w100p center">
|
||||
<div className='row inline w100p pad0-75' style={{minWidth: '35em', backgroundColor: 'white', paddingTop: 0, paddingBottom: 0, margin: 5, borderRadius: 3}}>
|
||||
<div className='row inline w100p pad0-75 search-row' style={{minWidth: '35em', backgroundColor: 'white', paddingTop: 0, paddingBottom: 0, margin: 5, borderRadius: 3}}>
|
||||
<TextField
|
||||
style={{marginTop: -12}}
|
||||
hintText="Search torrent or file"
|
||||
|
@ -27,6 +27,7 @@ export default class TorrentsStatistic extends Component {
|
||||
render()
|
||||
{
|
||||
return (
|
||||
<div style={{position: 'relative', width: '100%', height: 0}}>
|
||||
<div className='column w100p counter-statistic' style={{backgroundColor: 'rgba(0,0,0,0.7)', padding: 8, borderRadius: 4, marginTop: 2, marginBottom: 100}}>
|
||||
<div className='row w100p' style={{backgroundColor: 'rgba(0,0,0,0.7)', padding: 8, borderRadius: 4}}>
|
||||
<div className='row inline' style={{color: '#e5f442', fontSize: '1.15em', fill: '#e5f442'}}>
|
||||
@ -281,6 +282,7 @@ export default class TorrentsStatistic extends Component {
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user