little style fix

This commit is contained in:
Alexey Kasyanchuk 2018-03-27 00:26:41 +03:00
parent 0714131a5f
commit 395fecb189
2 changed files with 8 additions and 1 deletions

View File

@ -150,7 +150,7 @@ const Header = (props) => {
{ {
!window.currentWindow.isModal() !window.currentWindow.isModal()
&& &&
<div className='fs0-85 pad0-75 column' style={{marginLeft: 'auto', marginTop: '-10px', color: window.peers > 0 ? '#42f445' : 'white'}}> <div className='fs0-85 pad0-75 column peers-status' style={{marginLeft: 'auto', marginTop: '-10px', color: window.peers > 0 ? '#42f445' : 'white'}}>
<div>rats peers: {window.peers} {window.peers > 0 ? ' (p2p rats search enabled)' : ' (p2p rats search not available at this moment)'}</div> <div>rats peers: {window.peers} {window.peers > 0 ? ' (p2p rats search enabled)' : ' (p2p rats search not available at this moment)'}</div>
{ {
window.p2pStatus == 0 window.p2pStatus == 0

View File

@ -3,3 +3,10 @@ body {
padding: 0; padding: 0;
font-family: sans-serif; font-family: sans-serif;
} }
@media only screen and (max-width: 500px)
{
.peers-status {
display: none;
}
}